Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
more detail in README
Browse files Browse the repository at this point in the history
  • Loading branch information
mnot committed Jul 14, 2011
1 parent a413ee8 commit 30a98dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -5,7 +5,7 @@ Getting the syntax for HTTP Content-Disposition headers to work well with browse

Sweet is here to help.

It exposes one function - make\_disposition - that returns a value
It exposes one function - make\_disposition ( disposition, filename, fallback )- that takes the disposition ("attachment" or "inline"), a filename (possibly non-ASCII) and a fallback filename (always ASCII). and returns a value
suitable for use as a Content-Disposition header value.

For example:
Expand Down Expand Up @@ -46,6 +46,8 @@ If you're generating non-ASCII filenames, all current releases of mainstream bro

Internet Explorer versions 6, 7 and 8, as well as Mozilla 3, 3.5 and 4 will also use the ASCII filename.

See [the browser tests](http://greenbytes.de/tech/tc2231/) for more detail.


## Contact

Expand Down

0 comments on commit 30a98dc

Please sign in to comment.