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

Allow sending extra headers when accepting request #122

Merged
merged 2 commits into from Aug 15, 2016
Merged

Allow sending extra headers when accepting request #122

merged 2 commits into from Aug 15, 2016

Conversation

derkyjadex
Copy link
Contributor

Add acceptHeaders field to AcceptRequest so that extra headers can
be sent back with the response when using acceptRequestWith.

This is useful for example for sending back a Set-Cookie header with a
session ID, etc.

Add `acceptHeaders` field to `AcceptRequest` so that extra headers can
be sent back with the response when using `acceptRequestWith`.

This is useful for example for sending back a `Set-Cookie` header with a
session ID, etc.
To fix build on Travis CI using GHC 7.6.3 which doesn't have `mappend` in
the Prelude.
@jaspervdj
Copy link
Owner

Looks great, thanks!

@jaspervdj jaspervdj merged commit ee47d37 into jaspervdj:master Aug 15, 2016
@derkyjadex derkyjadex deleted the accept-headers branch December 10, 2019 23:57
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.

None yet

2 participants