Returns a stream with all headers from headers added.
add-mime-headers(s:stream, headers:list of (string, string)) -> stream |
Name |
Type |
Description |
---|---|---|
s |
stream |
Specifies the input stream. |
headers |
list of (string, string) |
The list of headers to be added. Use the list function to create a list. |
The following expression returns a stream with two headers: Content-Disposition, and Content-Transfer-Encoding.
add-mime-headers(empty-stream(), list(('Content-Disposition','attachment; name=something'), ('Content-Transfer-Encoding','7bit'))) |