ioflo / hio

Apache License 2.0
8 stars 8 forks source link

Fix http.clienting.Client to successfully redirect if connector does not have a context attribute. #21

Closed pfeairheller closed 1 year ago

pfeairheller commented 1 year ago

Error occurs when redirecting SSL URLs because the Client.connector does not have a "context" attribute. The fix of setting it to None works because the newly create ClientTls creates a new context if needed.

Signed-off-by: pfeairheller pfeairheller@gmail.com