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

Chandru <>
Wed Aug 22 10:23:33 CEST 2007


On 19/08/07, Frej Drejhammar <> 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.

cheers
Chandru



More information about the erlang-questions mailing list