We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HTTP::Message in Str method is silently appending EOL:
http-useragent/lib/HTTP/Message.pm6
Line 231 in cfdfc48
This causes Content-Length calculated by user to be incorrect:
Content-Length
$response = HTTP::Response.new; $response.set-code( 200 ); my $content = 'foo'; # 3 bytes $response.add-content( $content ); $response.field( Content-Length => $content.encode.bytes ); $socket.print( $response.Str ); # will send 2 bytes more than declared
Why is this EOL appended? User content should not be tampered with. Is this behavior described somewhere in RFC?
The text was updated successfully, but these errors were encountered:
Can this please be fixed? Firefox Web Driver isn't handling the extra EOL.
Sorry, something went wrong.
No branches or pull requests
HTTP::Message in Str method is silently appending EOL:
http-useragent/lib/HTTP/Message.pm6
Line 231 in cfdfc48
This causes
Content-Length
calculated by user to be incorrect:Why is this EOL appended? User content should not be tampered with. Is this behavior described somewhere in RFC?
The text was updated successfully, but these errors were encountered: