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

Allow setting HTTP User Agent in HTTP stream (AUD-4697) #1029

Closed

Conversation

stintel
Copy link
Contributor

@stintel stintel commented Jun 27, 2023

Add a user_agent field to the http_stream and http_stream_cfg_t structs
so people can override the default user agent set by esp_http_client.

@github-actions github-actions bot changed the title Allow setting HTTP User Agent in HTTP stream Allow setting HTTP User Agent in HTTP stream (AUD-4697) Jun 27, 2023
@stintel stintel force-pushed the feature/http_stream_user_agent branch from d25a287 to f14b7c5 Compare September 5, 2023 13:49
@stintel stintel force-pushed the feature/http_stream_user_agent branch from f14b7c5 to 76e4a5d Compare September 27, 2023 14:07
Add a user_agent field to the http_stream and http_stream_cfg_t structs
so people can override the default user agent set by esp_http_client.

Also add it to the HTTP_STREAM_CFG_DEFAULT macro with value NULL, to
maintain current default behaviour.

Signed-off-by: Stijn Tintel <[email protected]>
@stintel stintel force-pushed the feature/http_stream_user_agent branch from 76e4a5d to ed05b8b Compare November 3, 2023 14:50
@stintel
Copy link
Contributor Author

stintel commented Nov 3, 2023

Is there anything blocking this trivial PR? We're using this in Willow and prefer to not have to deviate from upstream ESP-ADF too much. Thanks.

@jason-mao
Copy link
Collaborator

@stintel No, sorry for replying late. It will be merged.

@jason-mao
Copy link
Collaborator

It's merged on 6d1f295

@jason-mao jason-mao closed this Nov 29, 2023
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.

2 participants