Re: netclient ignores #set_redirect_mode method -- a test case
Gerd Stolpmann <[email protected]> Fri, 01 Jul 2005 21:43:01 +0200
| Newsgroups | gmane.comp.lang.ocaml.lib.net.devel |
|---|---|
| Message-ID | <[email protected]> |
Am Donnerstag, den 30.06.2005, 14:02 +0100 schrieb Richard Jones: > On Thu, Jun 30, 2005 at 01:59:28PM +0100, rich wrote: > > let url = "http://www.merjis.com" (* redirects to http://merjis.com/ *) > > Try also replacing that with: > > let url = "http://www.slashdot.org" > > The program still fails (as in, it redirects when it shouldn't), but > doesn't go into an eternal loop. I'm not sure why this is, since the > request and response headers look substantially the same in both > cases. > > The redirect on http://www.merjis.com/ is being done using > mod_rewrite, so there wouldn't seem to be anything unusual or > non-standard about it. Richard, I think I fixed the issue. Can you try the svn version: https://gps.dynxs.de/svn/lib-netclient/trunk/ (relevant changes are only in http_client.mli and http_client.ml.) Gerd -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany [email protected] http://www.gerd-stolpmann.de ------------------------------------------------------------ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click