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

feat(output): add include option #7

Merged
merged 1 commit into from
May 4, 2022
Merged

Conversation

jkoelker
Copy link
Contributor

@jkoelker jkoelker commented May 3, 2022

curl will print the headers and proto/status code when then -i/--include option is given. This is useful for troubleshooting issues if a body is not returned, or to verify that the proper response (201 is returned).

I often find myself using -i to see what's happening, and although curl now supports sigv4, it requires the access key / secret directly instead of using the configured profile. I've been using this diff for a while locally.

`curl` will print the headers and proto/status code when then
`-i`/`--include` option is given. This is useful for troubleshooting
issues if a body is not returned, or to verify that the proper response
(`201` is returned).
@legal90
Copy link
Owner

legal90 commented May 4, 2022

Thank you very much, @jkoelker !

@legal90 legal90 merged commit a653221 into legal90:master May 4, 2022
@legal90
Copy link
Owner

legal90 commented May 5, 2022

Released in 0.2.1

@legal90 legal90 mentioned this pull request May 5, 2022
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