Michael Stapelberg
|
c74b4e7749
|
httpclient: use os.ReadFile instead of deprecated ioutil.ReadFile
|
2025-12-09 17:36:00 +01:00 |
|
Michael Stapelberg
|
fc385a9e3d
|
httpclient: remove now-unused GetRemoteScheme
|
2025-12-09 17:35:39 +01:00 |
|
Mark Dietzer
|
eb0e72acc1
|
Use Hostname() for finding cert.pem in httpclient, Host might include ports (#13)
|
2022-09-07 08:26:47 +02:00 |
|
Michael Stapelberg
|
3a50f98bee
|
treat -tls="" as enabled if certs exist, add -tls=off
This allows using breakglass without explicitly setting -tls=self-signed.
fixes https://github.com/gokrazy/gokrazy/issues/131
|
2022-07-09 19:25:10 +02:00 |
|
Michael Stapelberg
|
707cfb1f7d
|
remove unnecessary use of pointers
|
2022-04-30 21:20:34 +02:00 |
|
Michael Stapelberg
|
dd941cf696
|
set InsecureSkipVerify if -insecure is specified
|
2020-06-01 14:00:25 +02:00 |
|
Michael Stapelberg
|
d96421c600
|
handle upgrade path (location: header missing)
|
2020-05-31 21:46:36 +02:00 |
|
Michael Stapelberg
|
0ad69b1961
|
remove status code check after all
I was about to add Unauthorized to the list, but I think we should just remove
it after all , as it seems brittle.
|
2020-05-31 21:46:12 +02:00 |
|
Michael Stapelberg
|
bcf56cab3e
|
don’t use TLS at all if -tls is empty
|
2020-05-31 21:45:59 +02:00 |
|
Michael Stapelberg
|
d0cf397b47
|
GetTLSHttpClientByTLSFlag: check if tls flag is non-empty
|
2020-05-31 21:29:35 +02:00 |
|
Janis Streib
|
220f580f3a
|
Specify the httpClient (part of gokrazy/gokrazy#7) (#4)
This allows us to use a custom httpClient with own trusted certificates.
|
2020-05-31 11:28:57 +02:00 |
|