Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Pass context.Context to net/http client#49

Merged
ericchiang merged 1 commit into
ericchiang:masterfrom
pingles:master
May 16, 2017
Merged

Pass context.Context to net/http client#49
ericchiang merged 1 commit into
ericchiang:masterfrom
pingles:master

Conversation

@pingles

@pingles pingles commented May 16, 2017

Copy link
Copy Markdown
Contributor

This change creates the http.Request using WithContext- allowing clients to control timeouts/cancellations etc.

@ericchiang

Copy link
Copy Markdown
Owner

Ha, looks like I missed that. Thanks for the fix!

@ericchiang
ericchiang merged commit 68b0248 into ericchiang:master May 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants