
|
If you were logged in you would be able to see more operations.
|
|
|
WebWork
Created: 10/Dec/04 06:04 PM
Updated: 14/Dec/04 01:30 AM
|
|
| Component/s: |
Misc
|
| Affects Version/s: |
2.2
|
| Fix Version/s: |
2.1.7
|
|
|
Sometimes what you want to stream to the response is a file with a given name, a PDF for instance. In that case, you need to set the header:
"Content-disposition", "attachment; filename.pdf"
The StreamResult class should be enhanced so that it has the ability to take a filename and set the header.
|
|
Description
|
Sometimes what you want to stream to the response is a file with a given name, a PDF for instance. In that case, you need to set the header:
"Content-disposition", "attachment; filename.pdf"
The StreamResult class should be enhanced so that it has the ability to take a filename and set the header. |
Show » |
|