Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add \r to Http header to satisfy RFC2616 specification #20

Merged
merged 1 commit into from
Nov 15, 2018

Conversation

IanMercer
Copy link

RFC2616 specification for HTTP/1.1 defines the sequence CR LF as the end-of-line marker for all protocol elements except the entity-body.

Without this fix it is difficult to read the JSON formatted results into a .NET application using HttpClient as it throws an exception for the malformed header.

Fixes #19

…HTTP/1.1 defines the sequence CR LF as the end-of-line marker for all protocol elements except the entity-body"
@stromnet
Copy link
Contributor

Thank you!

@stromnet stromnet merged commit e53f827 into owfs:master Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Http header contains a line terminator that isn't \r\n
2 participants