mendsley / tinyhttp

Minimal HTTP processing library
Other
149 stars 45 forks source link

Parsing response with no Content-Length header #1

Closed dlandoll closed 9 years ago

dlandoll commented 9 years ago

Would it be possible to make changes that handle receiving responses without a content length header? I'm connecting to a service that doesn't include the header and trying to figure out at least a workaround.

The parser currently ends up in an error state for this particular case.

dlandoll commented 9 years ago

Pull request with changes has been merged.