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

headers format #492

Open
its-dibo opened this issue Jul 7, 2023 · 1 comment
Open

headers format #492

its-dibo opened this issue Jul 7, 2023 · 1 comment

Comments

@its-dibo
Copy link

its-dibo commented Jul 7, 2023

autocannon docs say that headers can be sent as -H k=v but I see that cUrl compatible format can be used -H k:v,
I don't know if it is intended or not, but it is better to use the cUrl-compatible format and refer to that in your docs

-H/--headers K=V
The request headers.

should be changed to
-H/--headers k:V

@silverwind
Copy link
Contributor

I agree this = also confused me. It should be documented as "k: v" format, which is the most common way to pass headers to curl.

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