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

#454: Don't append CRLF for the last read line #455

Merged
merged 1 commit into from
Aug 3, 2015
Merged

#454: Don't append CRLF for the last read line #455

merged 1 commit into from
Aug 3, 2015

Conversation

kxepal
Copy link
Member

@kxepal kxepal commented Aug 2, 2015

The RFC http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html says:
"NOTE: The CRLF preceding the encapsulation line is considered part of
the boundary so that it is possible to have a part that does not end
with a CRLF (line break). Body parts that must be considered to end
with line breaks, therefore, should have two CRLFs preceding
the encapsulation line, the first of which is part of the preceding
body part, and the second of which is part of the encapsulation
boundary."

The RFC http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html says:
"NOTE: The CRLF preceding the encapsulation line is considered part of
the boundary so that it is possible to have a part that does not end
with a CRLF (line break). Body parts that must be considered to end
with line breaks, therefore, should have two CRLFs preceding
the encapsulation line, the first of which is part of the preceding
body part, and the second of which is part of the encapsulation
boundary."
@asvetlov
Copy link
Member

asvetlov commented Aug 3, 2015

LGTM!

@kxepal
Copy link
Member Author

kxepal commented Aug 3, 2015

Thanks! Will wait a bit for @vbraun test report.

@vbraun
Copy link

vbraun commented Aug 3, 2015

+1 works for me!

asvetlov added a commit that referenced this pull request Aug 3, 2015
#454: Don't append CRLF for the last read line
@asvetlov asvetlov merged commit dc69644 into aio-libs:master Aug 3, 2015
@lock
Copy link

lock bot commented Oct 30, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 30, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants