-
Notifications
You must be signed in to change notification settings - Fork 251
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
Remove new line from basic auth #185
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Thanks!
Umm, this PR's traivs test does not complete ..
|
90f8234
to
7c04367
Compare
@junaruga Done |
@junaruga Even though I think the change is nice in the sense, that it will make future uses easier to write/read, I just want to want to mention that this looks like a breaking change to the public API. Isn't it? |
@scepticulous
Technically yes, but the previous approach is clearly wrong. Newlines should not be included in the HTTP headers. So, in that sense it is a "bug fix" because the previous approach is incorrect. I think it's permissible by SemVer rationale to include bug fixes like this. (and, we aren't at 1.0 yet so in that sense "anything is permissible", even though we must of course be careful with the thousands/millions of people who use the gem) |
Good point. You are right, we are not creating a valid real world header, thus I agree with it being a bugfix. Thanks. |
Thanks. I'm unsure why Travis fails on this one, will download it locally and test it before merge as a workaround. |
Works fine for me, let's merge and hope Travis runs correctly after that. Thanks @absrd for your contribution! 👏 |
* Fixes rack#64 - Removes new line from basic auth * Fixed grammar
closes #64