Web Oriented Object Framework

User Guide (Version 0.5b4)

Woof!
User Guide (Version 0.5b4)

The response object

For every request, Woof! initializes a response object, of class Response, to hold the data that will be sent back to the client. This data includes the HTTP status line, HTTP headers, and content.

Except in some special cases, applications should not directly use the response object. Rather, the response is constructed using the commands provided by the controller and the facilities described in Page generation For example, a HTTP redirect is preferably done using the controller's redirect method, as opposed to directly manipulating the response object.