Content-Disposition HTTP Header

Content-Disposition

Determine whether the response should be displayed inline or downloaded.

Accepted Values

Multiple values are allowed, seperated by a semi-colon. Some options take a value, and that is preceded with an = after the option.
attachment

The resources should be downloaded.

filename="<text>"

The original filename of the file transmitted.

filename="example"
filename*="<text>"

The original filename of the file transmitted, in RFC5987 encoding.

filename*="example"
inline

The resource should be displayed inline.

name

The HTML field that the content refers to.

Example

Content-Disposition: name; attachment; filename="cats"; filename*="cats"

Parse

Enter a Content-Disposition header below to parse and return details about it.

Reference

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition