[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] NetClients and HTTP GET/HEAD/POST
From: |
Holger Hans Peter Freyther |
Subject: |
Re: [Help-smalltalk] NetClients and HTTP GET/HEAD/POST |
Date: |
Sun, 06 Mar 2011 18:03:03 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b2 Thunderbird/3.1.7 |
On 03/06/2011 05:57 PM, Holger Hans Peter Freyther wrote:
> Hi Paolo,
>
> is there a good reason that this should be different? Should I go with the
> default of the GET code?
Hi again,
#guessMimeType will/might inspect the file and give an accurate answer. So
this will be useful for the result of a POST and the result of a GET. The HEAD
will never have a response that could be content-sniffed.
Still this hasFile criteria could be factored somehow.
cheers
holger