News for hackers. Stuff that matters.
Re:Golang's network stack attempts to parse HTTP headers as ... by Thaxll on Thursday January 21, 2021 @08:24AM (#25858539)
Your arguments are short sighted, if it was as easy as just reading RFC no language would have problems but:

- RFC are inconsistent

- out of touch with the real world

- contain security issues

- not clear

- contradict themselves

So you can look at three majors HTTP server and sometimes they will implement / allow things differently becauset they have no other choice.

Re:Golang's network stack attempts to parse HTTP headers as ... by benibela on Thursday January 21, 2021 @05:20PM (#25865253)
Or you just want to interact with a few servers, so you implement what the servers do

In my case I wanted to interact with a few servers and not write a HTTP client, so I used an existing HTTP client library. Turns out, the library did not handle those servers, so I had to write the header parsing myself, at least the cookie parsing.

I wonder if there are RFC 2047 cookies and you need to parse them, or just send them back as they came