-- Pat Veach <[EMAIL PROTECTED]> wrote
(on Monday, 07 April 2008, 11:47 AM -0500):
> Re: Response object
>
> Reading the documentation about the response object, I am a bit confused.
> Do the references to headers correspond to elements in  the <head>  
> section of the html document
> or do they refer to http response headers?

HTTP response headers.

> Likewise, does the body section of the response object correspond to the  
> <body> html tag
> or is it the entire html document?

HTTP body content -- i.e., entire document.

The response object deals with the transport, and is content-type
agnostic -- so header and body have nothing to do with HTML, but
everything to do with HTTP (unless you're using ZF on the CLI or a
socket).

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to