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

http resource: use proper syntax in curl header option #2285

Merged
merged 1 commit into from
Nov 3, 2017

Conversation

schisamo
Copy link
Contributor

@schisamo schisamo commented Nov 3, 2017

curl expects a valid header per RFC 2616 when using the -H/--header option. RFC 2616 declares header field/values should be separated using a colon (:):
https://tools.ietf.org/html/rfc2616#section-4.2

Signed-off-by: Seth Chisamore schisamo@chef.io

`curl` expects a valid header per RFC 2616 when using the
`-H`/`--header` option. RFC 2616 declares header field/values
should be separated using a colon (`:`):
https://tools.ietf.org/html/rfc2616#section-4.2

Signed-off-by: Seth Chisamore <schisamo@chef.io>
@schisamo schisamo requested a review from a team as a code owner November 3, 2017 17:21
@adamleff
Copy link
Contributor

adamleff commented Nov 3, 2017

Ugh, I'm an idiot, that's my fault. Thanks for the fix, @schisamo.

@adamleff adamleff added the Type: Bug Feature not working as expected label Nov 3, 2017
@adamleff adamleff changed the title Use proper syntax in curl header option http resource: use proper syntax in curl header option Nov 3, 2017
@adamleff adamleff merged commit af8443d into master Nov 3, 2017
@adamleff adamleff deleted the schisamo/fix-http-remote-worker branch November 3, 2017 18:28
@lehn-etracker
Copy link

Please backport that fix to 1.51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Feature not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants