It is not clear to me from the documentation whether I can continue to use 
an http.Client after a POST failed (due to the connection being closed ;  
In my case the connection closes probably due to rate-limiting).

The documentation of the http.Transport does mention that, if a network 
error occurs, it will retry if the request is idempotent. Given I'm doing a 
basicPOST that is not the case for me. 

But the http.Client will reestablish the connection on the next call to 
Post(...) ?

toon

 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/c427f2a3-d5ae-4a1a-932a-18574713b1e0n%40googlegroups.com.

Reply via email to