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

Comments

Projects
None yet
2 participants
@jacobbednarz

jacobbednarz commented Oct 13, 2016

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

This comment has been minimized.

Owner

jgrahamc commented Oct 14, 2016

Done

@jgrahamc jgrahamc closed this Oct 14, 2016

@jacobbednarz

This comment has been minimized.

jacobbednarz commented Oct 14, 2016

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