Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

util, repository: Use a default transport #147

Merged
merged 1 commit into from
Apr 1, 2016
Merged

util, repository: Use a default transport #147

merged 1 commit into from
Apr 1, 2016

Conversation

krnowak
Copy link
Member

@krnowak krnowak commented Apr 1, 2016

Creating a transport like &http.Transport{} and modifying its
TLSClientConfig turns off proxy support.

@@ -59,3 +61,21 @@ func IndexOf(list []string, el string) int {
}
return -1
}

func GetTLSClient(skipTLSCheck bool) *http.Client {
Copy link
Contributor

Choose a reason for hiding this comment

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

// GetTLSClient does a thing

@jellonek
Copy link

jellonek commented Apr 1, 2016

LGTM.

@iaguis
Copy link
Member

iaguis commented Apr 1, 2016

LGTM modulo docs

@krnowak
Copy link
Member Author

krnowak commented Apr 1, 2016

Docs shmocs.

@krnowak
Copy link
Member Author

krnowak commented Apr 1, 2016

Updated.

Creating a transport like &http.Transport{} and modifying its
TLSClientConfig turns off proxy support.
@iaguis iaguis added this to the 0.9.3 milestone Apr 1, 2016
@iaguis iaguis merged commit deadf1f into appc:master Apr 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants