Fix for HttpUrl retrieveContents
stéphane ducasse
ducasse at iam.unibe.ch
Sun Jan 8 15:41:19 UTC 2006
Hi Todd
Normally as this is about Network, you add a fix on mantis and tag it
with Network.
Or you contact the network team, and they will issue a new mcz that
we (the v3.9) team
will nicely integrate. :)
Stef
On 8 janv. 06, at 00:49, Todd Blanchard wrote:
> How does one get a fix into standard squeak release?
>
> I changed this:
>
> HttpUrl>>retrieveContentsArgs: args
>
> ^self retrieveContentsArgs: args accept: 'application/octet-stream'
>
> to this:
>
> HttpUrl>>retrieveContentsArgs: args
>
> ^self retrieveContentsArgs: args accept: (MIMEDocument
> guessTypeFromName: self)
>
>
> because trying to fetch a .css file from an IIS server would
> produce an error using the former technique (it wants text/css as
> an ACCEPT type).
>
> -Todd Blanchard
>
More information about the Squeak-dev
mailing list
|