Re: Redirection not working with nethttpd

Gerd Stolpmann <[email protected]> Fri, 21 Aug 2009 15:49:23 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <[email protected]>
Am Dienstag, den 11.08.2009, 23:43 +0200 schrieb Paolo Donadeo:
> > Also, if such a redirect was sent to the web
> > browser, this would be a violation of the HTTP protocol (although many
> > browsers seem to handle this case).
> 
> Thanks, I didn't even know! I just read section 14.30 of the RFC 2616
> [1]: the URL must be absolute.
> 
> 
> > Well, you are using the interface that is compatible with CGI, so you
> > get also certain CGI quirks.
> 
> Of course :)
> 
> 
> > I have no full answer yet - I need to dig further into the problem. It
> > could easily be that you discovered a bug. I'll try to check that soon.
> 
> Let us know if you find something.

Yes. This is a bug. Fixed in the svn version
(https://godirepo.camlcity.org/svn/lib-ocamlnet2/trunk/)

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann, Bad Nauheimer Str.3, 64289 Darmstadt,Germany 
[email protected]          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july