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: allow 201 for cookies, update header docs #11472

Merged
merged 1 commit into from
Jul 8, 2022

Conversation

powersj
Copy link
Contributor

@powersj powersj commented Jul 7, 2022

This allows both a 200 and 201 response code when generating auth using
the cookie auth plugin. Additionally, this updates the docs for the
cookie headers to show a TOML map rather than a string.

fixes: #11134

This allows both a 200 and 201 response code when generating auth using
the cookie auth plugin. Additionally, this updates the docs for the
cookie headers to show a TOML map rather than a string.

fixes: influxdata#11134
@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Jul 7, 2022

Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Thanks for the fix @powersj. Just two questions regarding the config change...

plugins/inputs/http/README.md Show resolved Hide resolved
plugins/inputs/http/sample.conf Show resolved Hide resolved
@srebhan srebhan self-assigned this Jul 8, 2022
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks @powersj!

@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Jul 8, 2022
@powersj powersj merged commit 5084831 into influxdata:master Jul 8, 2022
@powersj powersj deleted the fix/11134 branch July 8, 2022 21:10
srebhan pushed a commit that referenced this pull request Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inputs.http cookie_auth_headers cannot unmarshal TOML string into map[string]string
2 participants