Closed CrowdHailer closed 5 years ago
I came across a server today that sends connection: Close in the response. I think this is in violation on the spec, however it should probably be accomodated
connection: Close
My reading of the spec suggests this is an error. The values of connection should be close or keep-alive, i.e. lowercase https://tools.ietf.org/html/rfc7230#section-6.1
close
keep-alive
The parser needs to be updated to handle connection values in a case insensitive manner. https://github.com/CrowdHailer/raxx/blob/master/lib/raxx/http1.ex#L597-L605
Fixed in 0.15.10
I came across a server today that sends
connection: Close
in the response. I think this is in violation on the spec, however it should probably be accomodatedMy reading of the spec suggests this is an error. The values of connection should be
close
orkeep-alive
, i.e. lowercase https://tools.ietf.org/html/rfc7230#section-6.1The parser needs to be updated to handle connection values in a case insensitive manner. https://github.com/CrowdHailer/raxx/blob/master/lib/raxx/http1.ex#L597-L605