Crash my webserver!
Andrea Fontana
nospam at example.org
Sat May 13 11:42:28 UTC 2023
On Saturday, 13 May 2023 at 11:32:39 UTC, Andrea Fontana wrote:
> On Saturday, 13 May 2023 at 11:21:53 UTC, Vladimir Panteleev
>> - LF line endings are not accepted
>
> Do you mean as line separator in headers? I know some (old?)
> clients use it but I think HTTP protocol requires CRLF
From RFC:
«Although the line terminator for the start-line and fields is
the sequence CRLF, a recipient MAY recognize a single LF as a
line terminator and ignore any preceding CR»
Of course MAY means it is optional (rfc2119). I don't think I'm
going to implement a special case for this, it is rarely used by
old clients in 2023 :)
Good point, anyway.
Andrea
More information about the Digitalmars-d
mailing list