W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > January to April 2000

Re: Two questions

From: Fred Bohle <fbohle@neonsys.com>
Date: Mon, 24 Jan 2000 09:18:23 -0600
To: Tim Chao <tchao@alteon.com>
cc: http-wg@cuckoo.hpl.hp.com
Message-ID: <86256870.00545F0C.00@internet1.neonsys.com>




Fred Bohle@NEON
01/24/2000 09:18 AM

Tim,

     I look for either 0A or 0D.  If I find 0D, I look for 0A behind it.
If any
of these conditions are true, it is end of line.  If I find a line with no
characters,
this is the null line that ends the headers.  That way you can end any
line,
any way you want, without looking for strings like 0D0A0D0A,  or 0A0A.
I can detect screwy end of line pairs like 0A0D0A or 0D0A0A.


Fred
Received on Monday, 24 January 2000 15:23:41 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:33:35 EDT