Demonstrate on how to add a response header and where is allowed place to do it.
Default Gzip Output Compression
Compress everything using the default Gzip compression.
Everything means the following MIME output
- text/plain
- text/css
- application/javascript
- text/html
- application/xml
- text/xml
- application/json
- text/json
This example shows how to issue trailing HTTP headers. Normal HTTP headers must be issued before body of the HTTP Response starts being written. Trailing headers allows you to issue headers after the HTTP body has been written.
dotnet8
response
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||