You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The httputil.DumpRequestOut second parameter control whether it should dump the request
body or not. However, if the request contains a body, and second parameter is false,
then the function fails with error: "http: Request.ContentLength=%d with nil
Body".
This can be checked here:
http://play.golang.org/p/UiU6kwcEox
I guess this is because the implementation does use a real Transport to send the request
to a fake server and record it.
The text was updated successfully, but these errors were encountered:
by sdefresne:
The text was updated successfully, but these errors were encountered: