Re: [twsocket] Bug report for HTTPProt.pas Line 2644
Adopted. Thanks. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Fastream Technologies" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, April 10, 2006 9:54 AM Subject: [twsocket] Bug report for HTTPProt.pas Line 2644 > Hello, > > It should be > > else if Field = 'transfer-encoding' then >FTransferEncoding := LowerCase(Data) > > Not, > > else if Field = 'transfer-encoding' then >FTransferEncoding := Data > > as for example Abyss web server returns "Chunked" instead of "chunked". > > Best Regards, > > SZ > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Bug report for HTTPProt.pas Line 2644
Hello Dod, Not sure. But in my HTTP field comparisons, I always check in-case-sensitively as I have heard other servers doing the same behavior as well. Regards, SZ - Original Message - From: "Dod" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, April 10, 2006 11:43 AM Subject: Re: [twsocket] Bug report for HTTPProt.pas Line 2644 > Hello Fastream, > > Hum... is this really a bug or is it Abyss server that is not RFC > compliant with a small "c" ? > > FT> It should be > > FT> else if Field = 'transfer-encoding' then > FT> FTransferEncoding := LowerCase(Data) > > FT> Not, > > FT> else if Field = 'transfer-encoding' then > FT> FTransferEncoding := Data > > FT> as for example Abyss web server returns "Chunked" instead of > "chunked". > > FT> Best Regards, > > FT> SZ > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Bug report for HTTPProt.pas Line 2644
An usual practice in the RFC world is to be very strict when sending data and very forgiving when receiving. I always code such tests as 'if SameText(..., ...)'. I would support this "fix", too. Primoz > Hum... is this really a bug or is it Abyss server that is not > RFC compliant with a small "c" ? > > FT> It should be > > FT> else if Field = 'transfer-encoding' then > FT> FTransferEncoding := LowerCase(Data) > > FT> Not, > > FT> else if Field = 'transfer-encoding' then > FT> FTransferEncoding := Data > > FT> as for example Abyss web server returns "Chunked" instead > of "chunked". > > FT> Best Regards, > > FT> SZ > > -- > To unsubscribe or change your settings for TWSocket mailing > list please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Bug report for HTTPProt.pas Line 2644
Hello Fastream, Hum... is this really a bug or is it Abyss server that is not RFC compliant with a small "c" ? FT> It should be FT> else if Field = 'transfer-encoding' then FT> FTransferEncoding := LowerCase(Data) FT> Not, FT> else if Field = 'transfer-encoding' then FT> FTransferEncoding := Data FT> as for example Abyss web server returns "Chunked" instead of "chunked". FT> Best Regards, FT> SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] Bug report for HTTPProt.pas Line 2644
Hello, It should be else if Field = 'transfer-encoding' then FTransferEncoding := LowerCase(Data) Not, else if Field = 'transfer-encoding' then FTransferEncoding := Data as for example Abyss web server returns "Chunked" instead of "chunked". Best Regards, SZ -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be