Skip to content

url_helper: add tuple support for readurl timeout#1328

Merged
TheRealFalcon merged 1 commit into
canonical:mainfrom
cjp256:readurl-timeouts
Mar 14, 2022
Merged

url_helper: add tuple support for readurl timeout#1328
TheRealFalcon merged 1 commit into
canonical:mainfrom
cjp256:readurl-timeouts

Conversation

@cjp256
Copy link
Copy Markdown
Contributor

@cjp256 cjp256 commented Mar 11, 2022

It may be useful to configure connection timeout and read timeout
separately. Update readurl() to accept a tuple that is supported
by python requests to configure both.

Signed-off-by: Chris Patterson cpatterson@microsoft.com

@cjp256 cjp256 force-pushed the readurl-timeouts branch 4 times, most recently from 772b43c to d20a5e3 Compare March 11, 2022 18:27
It may be useful to configure connection timeout and read timeout
separately.  Update readurl() to accept a tuple that is supported
by python requests to configure both.

Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
@cjp256 cjp256 force-pushed the readurl-timeouts branch from d20a5e3 to f725e7d Compare March 11, 2022 18:29
Copy link
Copy Markdown
Contributor

@TheRealFalcon TheRealFalcon left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@TheRealFalcon TheRealFalcon merged commit 54bc8d2 into canonical:main Mar 14, 2022
@cjp256 cjp256 deleted the readurl-timeouts branch April 25, 2022 16:11
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