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

fix: parse argument with ":" in value header #237

Merged
merged 1 commit into from
Jan 3, 2020

Conversation

legendecas
Copy link
Contributor

@legendecas legendecas commented Jan 1, 2020

As documented header parsing should support arguments like
-H "Date=Wed Jan 01 2020 20:02:36 GMT+0800 (Hong Kong Time)".

Currently the header would be sent as
Date=Wed Jan 01 2020 20: 02:36 GMT+0800 (Hong Kong Time).

Fixes: nodejs/node#31023

As documented header parsing should support arguments like
`-H "Date=Wed Jan 01 2020 20:02:36 GMT+0800 (Hong Kong Time)"`.
Copy link
Owner

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit 3344f35 into mcollina:master Jan 3, 2020
@legendecas legendecas deleted the header-parsing branch January 3, 2020 10:36
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.

Running benchmark/http/incoming_headers.js fails with error "autocannon produced strange output"
3 participants