Skip to content

fix: allow 201 for cookies, update header docs#11472

Merged
powersj merged 1 commit intoinfluxdata:masterfrom
powersj:fix/11134
Jul 8, 2022
Merged

fix: allow 201 for cookies, update header docs#11472
powersj merged 1 commit intoinfluxdata:masterfrom
powersj:fix/11134

Conversation

@powersj
Copy link
Copy Markdown
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
Copy Markdown
Contributor

telegraf-tiger bot commented Jul 7, 2022

Copy link
Copy Markdown
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...

@srebhan srebhan self-assigned this Jul 8, 2022
Copy link
Copy Markdown
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