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

include kwarg which accepts a string to separate -H k: v pairs #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gaucheph
Copy link

main use case for this is for requests which have very long headers or a lot of them such that the curlified request, in its one-liner form, can be difficult to parse

@ofw
Copy link
Owner

ofw commented May 21, 2020

Thanks! I think a better API would be to introduce a flag pretty=True|False to pretty print curl command when each part is on separate line

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