# Response

Custom response object with an optimized redirect method to build correct Urls

****

- Full class name: `Kirby\Cms\Response`
- Alias: `Response`
- Source: <https://github.com/getkirby/kirby/tree/5.5.3/src/Cms/Response.php#L15>

****

### Response

- [new Response()](https://getkirby.com/docs/reference/objects/cms/response/__construct.md)
- [$response->__debugInfo()](https://getkirby.com/docs/reference/objects/cms/response/__debug-info.md)
- [$response->__toString()](https://getkirby.com/docs/reference/objects/cms/response/__to-string.md)
- [$response->body()](https://getkirby.com/docs/reference/objects/cms/response/body.md)
- [$response->charset()](https://getkirby.com/docs/reference/objects/cms/response/charset.md)
- [$response->code()](https://getkirby.com/docs/reference/objects/cms/response/code.md)
- [Response::download()](https://getkirby.com/docs/reference/objects/cms/response/download.md)
- [Response::ensureSafeMimeType()](https://getkirby.com/docs/reference/objects/cms/response/ensure-safe-mime-type.md)
- [Response::file()](https://getkirby.com/docs/reference/objects/cms/response/file.md)
- [Response::go()](https://getkirby.com/docs/reference/objects/cms/response/go.md)
- [Response::guardAgainstOutput()](https://getkirby.com/docs/reference/objects/cms/response/guard-against-output.md)
- [$response->header()](https://getkirby.com/docs/reference/objects/cms/response/header.md)
- [$response->headers()](https://getkirby.com/docs/reference/objects/cms/response/headers.md)
- [Response::json()](https://getkirby.com/docs/reference/objects/cms/response/json.md)
- [Response::redirect()](https://getkirby.com/docs/reference/objects/cms/response/redirect.md)
- [Response::refresh()](https://getkirby.com/docs/reference/objects/cms/response/refresh.md)
- [$response->send()](https://getkirby.com/docs/reference/objects/cms/response/send.md)
- [$response->setHeaderFallbacks()](https://getkirby.com/docs/reference/objects/cms/response/set-header-fallbacks.md)
- [$response->toArray()](https://getkirby.com/docs/reference/objects/cms/response/to-array.md)
- [$response->type()](https://getkirby.com/docs/reference/objects/cms/response/type.md)