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

Support custom for HTTP headers #20

Closed
jacobbednarz opened this issue Oct 13, 2016 · 2 comments
Closed

Support custom for HTTP headers #20

jacobbednarz opened this issue Oct 13, 2016 · 2 comments

Comments

@jacobbednarz
Copy link

I'd like to be be able to supply custom HTTP headers to both requests. I think something like the following would work:

$ httpdiff -header "X-Example: My value" -header "Host: example.com" https://domain.com https://domain.net

This would also allow you to consolidate some of the other methods like -host as it would be combined into the one option.

@jgrahamc
Copy link
Owner

Done

@jacobbednarz
Copy link
Author

Awesome! Thanks a bunch. 🍰

On Friday, 14 October 2016, John Graham-Cumming notifications@github.com
wrote:

Done


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#20 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARSYtRK34qV51OhoC-mOiaANnN4uR1dks5qz3nAgaJpZM4KWftS
.

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

No branches or pull requests

2 participants