'Status code misses trailing space' Error && Handling Status lines without phrasing #981
Labels
help wanted
Identifies issues that the core team will likely not have time to work on
t:client
Issues related to the HTTP Client
t:core
Issues related to the akka-http-core module
Milestone
Hello.
I've recently came across an API that didn't provide fully HTTP 1.1 complaint status lines in case of errors, meaning no phrasing ('HTTP/1.1 400' when it should be 'HTTP/1.1 400 Bad Request', for example).
Though there's no doubt it's an improper implementation, other client libraries/command line tools seem to be able to cope with it, while akka-http breaks with an error emitted from HttpResponseParser (line 99-100).
Is there any chance this behavior is considered to strict and/or could/should be opted out?
The text was updated successfully, but these errors were encountered: