davecheney / httpstat

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

add support for Content-Disposition header #68

Closed theckman closed 7 years ago

theckman commented 7 years ago

This change adds support for reading the filename from the Content-Disposition HTTP header. If the filename cannot be determined from the Content-Disposition header, we fall back to using the base path of the RequestURI.

fixes #57

theckman commented 7 years ago

@davecheney I've pushed a commit with the requested change. Thanks for the quick review. :+1: