durusmail: quixote-users: scgi server behind twisted
scgi server behind twisted
2003-03-09
2003-03-10
jon (2 parts)
2003-03-12
2003-03-12
2003-03-14
Jon Dyte (2 parts)
2003-03-23
scgi server behind twisted
Jon Dyte
2003-03-14
Mike
No mystery here, I saw this before when we modified the other twisted-quixote
script, which served quixote straight from twisted with no scgi.
This is because quixote returns a Status line which is not http compliant.
Ideally we should have switch on Quixote to allow the publisher to return
a proper HTTP response.

here is the fixed script. I changed the _process method of the SCGIRequest
class.

wget http://localhost:8098/q/ now works fine

cheers



Jon

On Wednesday 12 Mar 2003 4:16 pm, Greg Ward wrote:
> On 12 March 2003, Mike Mueller said:
> > thanks for your script:
> >
> > I tried it with the demo.  It works very well with:
> > Netscape 4.6 and 4.78
> > KFM
> > Konqueror.
> >
> > But leaves the status line on top of the page in:
> > IE5.5
> > Opera 6.05 on Windows
> > Netscape 6.1 and 7.0
> > Lynx.
> >
> > Example:
> > Status: 200 OK content-length: 711 content-type: text/html;
> > charset=iso-8859-1 Date: Tue, 11 Mar 2003 18:00:23 GMT Expires: -1 You
> > have selected the integer 310.
>
> Wow, freaky.  It's times like this that I reach for my handy packet
> tracer.  I'm very fond of Ethereal (www.ethereal.com) -- just have it
> capture all port 80 traffic on the loopback device, and bam! you can see
> the complete HTTP session.  Very cool.
>
>         Greg
>
> _______________________________________________
> Quixote-users mailing list
> Quixote-users@mems-exchange.org
> http://mail.mems-exchange.org/mailman/listinfo/quixote-users

-------------------------------------------------------

reply