Skip to content

Conversation

@retep998
Copy link
Contributor

No description provided.

@retep998 retep998 changed the title Don't use Show to write header strings. Don't use Show to write UserAgent header Jan 12, 2015
@seanmonstar
Copy link
Member

Doh! Thanks for the fix. Mind adding a simple test in that same module testing that adding a UserAgent to a Headers and then checking the to_string() to be correct?

And also, adjusting the commit message to match https://github.com/hyperium/hyper/blob/master/CONTRIBUTING.md ? In this case, it'd be something like fix(headers): don't use Show to write UserAgent header.

Signed-off-by: Peter Atashian <retep998@gmail.com>
@retep998
Copy link
Contributor Author

Updated with test.

seanmonstar added a commit that referenced this pull request Jan 12, 2015
Don't use Show to write UserAgent header
@seanmonstar seanmonstar merged commit cfebdab into hyperium:master Jan 12, 2015
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.

2 participants