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

Custom Accept Header #72

Merged
merged 1 commit into from
Feb 19, 2013
Merged

Custom Accept Header #72

merged 1 commit into from
Feb 19, 2013

Conversation

nesbert
Copy link
Contributor

@nesbert nesbert commented Feb 19, 2013

First off I really ❤️ the simplicity and interface of httpful!

Please consider this patch for inclusion. My particular use case requires the request header "Accept" to be set to a certain value. Currently, httpful's default behavior is to set the Accept header and only allows users to append to the default values.

My patch simply excludes this default behavior if the "Accept" header is set. Otherwise behaves the same way with the current default values.

Thanks!

nategood added a commit that referenced this pull request Feb 19, 2013
@nategood nategood merged commit ae30c70 into nategood:master Feb 19, 2013
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