Ričardas Pocius
Ričardas Pocius
Well empty line after headers section of response is matched with \r\n\r\n. In case no headers are added you get response like: "HTTP/1.0 200 Connection Established\r\n\r\n" and with additional headers:...
I am not sure it is allowed to have empty line at the beginning, but we do not need to worry about this in the scope of this ticket/contribution. I...
I am sorry I am not familiar with hackney code base to reuse existing response parsing code. I just wanted to communicate the problem and to propose working solution. The...
I had something like this in mind: https://github.com/benoitc/hackney/compare/master...cirka:fix_536 In error report i wrote '(including new line)' having in mind 'empty line' ... basically . My patch tries to match end...
The proxy responds with 200 and additional header: ' HTTP/1.0 200 Connection Established Proxy-agent: Apache/2.2.12 (Linux/SUSE) ' followed by empty line. My proposed patch gathers all input until empty line...