> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: headers() # Method package: wixHttpFunctions # Method menu location: wixHttpFunctions --> WixHttpFunctionResponse --> headers # Method Link: https://dev.wix.com/docs/velo/velo-only-apis/wix-http-functions/wix-http-function-response/headers.md # Method Description: Sets or gets the HTTP response header fields. The `headers` property contains an object of `key:value` pairs where the `key` is the header field name and the `value` is the header field value. When defining a `content-type` key, note that for Free sites,`text/html` is not supported. Premium sites support all content types. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Get the response headers ```javascript // In http-functions.js export function use_myFunction(request) { let headers = response.headers; /* headers: * { * "content-type": "application/json", * "last-modified": "Tue, 26 Sep 2017 00:00:00 GMT" * } */ } ``` ## Set the response headers ```javascript // In http-functions.js export function use_myFunction(request) { const headers = { "content-type": "application/json", "last-modified": "Tue, 26 Sep 2017 00:00:00 GMT" }; response.headers = headers; } ``` ---