[erlang-questions] Patch to inets for correct handling of HTTP's Conditional

Ingela Anderton Andin ingela@REDACTED
Thu Aug 23 11:18:33 CEST 2007


> On 19/08/07, Frej Drejhammar <frej.drejhammar@REDACTED> wrote:
>   
>> Hi,
>>
>> The http client in inets for R11B-5 does not handle conditional get
>> correctly. Doing a http:request/4 with the "If-None-Match" and
>> "If-Modified-Since" headers set such that the server gives a 304 "Not
>> Modified" reply, the httpc_handler still expects to receive a
>> body. This eventually leads to a timeout. The attached bug.erl
>> demonstrates the problem by retrieving the slashdot rss-feed.
>>     
>
> To any users of ibrowse, I've tested this scenario and it works
> properly with the current version of ibrowse in sourceforge.
>   
Wonderful :) It would surprise me immensely if ibrowse was bug 
compatible with inets or vice versa  ;)

Regards Ingela




More information about the erlang-questions mailing list