Ruby's Base64 library puts a newline not only at the end, but every 60 characters. This breaks HTTP headers (at least for servers that don't require \r), as well as the output in hurl's ui (changes from class 's' to 'nf' after 60 characters).
I intend to submit a patch that strips newlines from the Base64 string before putting it in headers.
Ruby's Base64 library puts a newline not only at the end, but every 60 characters. This breaks HTTP headers (at least for servers that don't require \r), as well as the output in hurl's ui (changes from class 's' to 'nf' after 60 characters).
I intend to submit a patch that strips newlines from the Base64 string before putting it in headers.