Class HttpResponse() Foundation

Objects of this class encapsulate the outgoing HTTP response.

Description

TBD

Properties
:ClientCachePolicy
Controls the browser's client cache policy for the response.
:ContentType
Contains the content type requested by the client.
:ServerCachePolicy
Determines the cache policy of this request.
:Response
The response as send to the server.
HTTP Header Management
:AddHeader()
Add a header token and value to the response.
:DelHeader()
Remove a header token from the response.
:DelHeaders()
Remove all headers, or just the headers with a given token from the response.
:GetHeader()
Get a header value given its token.
Cookie Management
:AddCookie()
Add a cookie.
:DelCookie()
Delete a cookie given its name.
:DelCookies()
Delete all cookies.
Manipulation
:WriteRaw()
Write an arbitrary value to the response.
:Write()
Write an arbitrary value to the response.
:WriteStr()
Write one or more values to the response with CRLF appended.
:WriteBinary()
Write binary data directly to the response.
:WriteFile()
Sends back a file to the client.
:Transfer()
Transfers the execution path to another page or controller.
:Redirect()
Redirects the browser to another URL.
:Reset()
Discards any pending content.
:Send()
Sends the response to the client.
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.