web_response->headers
Returns response headers.
Target
Signature
1web_response->headers()Returns response headers.
web_response->headers is called with member syntax on a receiver value. web_response->headers belongs at the request or response boundary. Treat visitor input as untrusted, validate before use, and encode values before writing them into HTML.
Examples
Basic call
1web_response->headersThe example belongs near a request or response boundary; validate visitor input before trusting it.