gorequest icon indicating copy to clipboard operation
gorequest copied to clipboard

Added Dump method to enable manual request dumping

Open petomalina opened this issue 8 years ago • 3 comments

Created Dump method that allows user to dump the request at any time.

This is usable while debugging.

petomalina avatar Nov 18 '16 12:11 petomalina

There are two calls to MakeRequest(), however, I was not sure how to restructure and if that is even a big deal while debugging.

petomalina avatar Nov 18 '16 12:11 petomalina

Any clear example usecase? I still feel enabling debug is already good enough and not really different from the Dump method you are creating.

parnurzeal avatar Nov 22 '16 14:11 parnurzeal

I wanted to get the request before I actually sent it.

petomalina avatar Nov 23 '16 18:11 petomalina