davecheney / httpstat

It's like curl -v, with colours.
MIT License
7.06k stars 383 forks source link

-O / `saveOutput` saves a file for every redirect as well as final response #58

Closed ble closed 8 years ago

ble commented 8 years ago

Tested against a server that redirects, httpstat -O wrote one file for each request using that request's URL to determine the output filename.

Possibly don't want to write multiple files if server redirects. Possibly don't want filename to be controlled by response.

ble commented 8 years ago

I have a not-entirely-pertinent, gratuitously redirecting handler that I used to test this out.

ble commented 8 years ago

Now I see the todo: https://github.com/davecheney/httpstat/blob/master/main.go#L292

theckman commented 8 years ago

Looks like this should be closed by #59.

(I keep looking for things to help with and they are all closed! 😂)