## [Zend_Http] element index

### Package indexes

- default
- Zend_Db
- Xml
- ZForm
- Zend_Mail
- Zend_Mime
- Zend_Mime_Decode
- Zend_View

All elements
_
top

_flattenCookiesArray
  Zend_Http_Cookiejar::_flattenCookiesArray() in Cookiejar.php
  Helper function to recursivly flatten an array. Shoud be used when exporting the cookies array (or parts of it)
_matchDomain
  Zend_Http_Cookiejar::_matchDomain() in Cookiejar.php
  Return a subset of the cookies array matching a specific domain
_matchPath
  Zend_Http_Cookiejar::_matchPath() in Cookiejar.php
  Return a subset of a domain-matching cookies that also match a specified path
__construct
  Zend_Http_Cookie::__construct() in Cookie.php
  Cookie object constructor
__construct
  Zend_Http_Cookiejar::__construct() in Cookiejar.php
  Construct a new CookieJar object
_connect
  Zend_Http_Client::_connect() in Client.php
  Open a connection to the remote server
_connect
  Zend_Http_Client_Abstract::_connect() in Abstract.php
  Open a connection to the remote server
_getParametersRecursive
  Zend_Http_Client::_getParametersRecursive() in Client.php
  Helper method that gets a possibly multi-level parameters array (get or post) and flattens it.
_prepare_body
  Zend_Http_Client::_prepare_body() in Client.php
  Prepare the request body (for POST and PUT requests)
_prepare_body
  Zend_Http_Client_Abstract::_prepare_body() in Abstract.php
  Prepare the request body (for POST and PUT requests)
_prepare_headers
  Zend_Http_Client::_prepare_headers() in Client.php
  Prepare the request headers
_prepare_headers
  Zend_Http_Client_Abstract::_prepare_headers() in Abstract.php
  Prepare the request headers
_read
  Zend_Http_Client_Abstract::_read() in Abstract.php
  Read response from remote server
_read
  Zend_Http_Client::_read() in Client.php
  Read response from remote server
_setParameter
  Zend_Http_Client_Abstract::_setParameter() in Abstract.php
  Set a GET or POST parameter - used by SetParameterGet and SetParameterPost
_write
  Zend_Http_Client::_write() in Client.php
  Send request to the remote server
_write
  Zend_Http_Client_Abstract::_write() in Abstract.php
  Send request to the remote server
__construct
  Zend_Http_Client_Abstract::__construct() in Abstract.php
  Contructor method. Will create a new HTTP client. Accepts the target URL and optionally and array of headers.
__construct
  Zend_Http_Response::__construct() in Response.php
  HTTP response constructor

a
top

addCookie
  Zend_Http_Cookiejar::addCookie() in Cookiejar.php
  Add a cookie to the jar. Cookie should be passed either as a Zend_Http_Cookie object or as a string - in which case an object is created from the string.
addCookiesFromResponse
  Zend_Http_Cookiejar::addCookiesFromResponse() in Cookiejar.php
  Parse an HTTP response, adding all the cookies set in that response to the cookie jar.
asString
  Zend_Http_Cookie::asString() in Cookie.php
  Get the cookie as a string, suitable for sending as a "Cookie" header in an HTTP request
$auth
  Zend_Http_Client::$auth in Client.php
  HTTP Authentication settings
Abstract.php
  Abstract.php in Abstract.php
asString
  Zend_Http_Response::asString() in Response.php
  Get the entire response as string

b
top

$body
  Zend_Http_Response::$body in Response.php
  The HTTP response body

c
top

$cookies
  Zend_Http_Cookiejar::$cookies in Cookiejar.php
  Array storing cookies
Cookie.php
  Cookie.php in Cookie.php
Cookiejar.php
  Cookiejar.php in Cookiejar.php
$Cookiejar
  Zend_Http_Client::$Cookiejar in Client.php
  The client's cookie jar
Client.php
  Client.php in Client.php
$code
  Zend_Http_Response::$code in Response.php
  The HTTP response code

d
top

$domain
  Zend_Http_Cookie::$domain in Cookie.php
  Cookie domain
deleteAllCookies
  Zend_Http_Cookiejar::deleteAllCookies() in Cookiejar.php
  Remove all cookies from the jar
deleteCookies
  Zend_Http_Cookiejar::deleteCookies() in Cookiejar.php
  Delete a cookie according to it's name and domain. If no name is specified, all cookies from this domain will be cleared out.
deleteExpiredCookies
  Zend_Http_Cookiejar::deleteExpiredCookies() in Cookiejar.php
  Clear all cookies who's expiry time is older than $time
deleteSessionCookies
  Zend_Http_Cookiejar::deleteSessionCookies() in Cookiejar.php
  Clear "Session" cookies (cookies without specific expiry time)
$doStrictRedirects
  Zend_Http_Client::$doStrictRedirects in Client.php
  Whether to strictly follow RFC 2616 when redirecting
delete
  Zend_Http_Client_Abstract::delete() in Abstract.php
  Send a DELETE request
decodeChunkedBody
  Zend_Http_Response::decodeChunkedBody() in Response.php
  Decode a "chunked" transfer-encoded body and return the decoded text
decodeDeflate
  Zend_Http_Response::decodeDeflate() in Response.php
  Decode a zlib deflated message (when Content-encoding = deflate)
decodeGzip
  Zend_Http_Response::decodeGzip() in Response.php
  Decode a gzip encoded message (when Content-encoding = gzip)

e
top

$expires
  Zend_Http_Cookie::$expires in Cookie.php
  Cookie expiry date
$enctype
  Zend_Http_Client_Abstract::$enctype in Abstract.php
  Request body content type (for POST requests)
encodeAuthHeader
  Zend_Http_Client::encodeAuthHeader() in Client.php
  Create a HTTP authentication "Authorization:" header according to the specified user, password and authentication method.
encodeFormData
  Zend_Http_Client::encodeFormData() in Client.php
  Encode date to a multipart/form-data part suitable for a POST request.
Exception.php
  Exception.php in Exception.php
METHOD_CONNECT
  Zend_Http_Client_Abstract::METHOD_CONNECT in Abstract.php
METHOD_DELETE
  Zend_Http_Client_Abstract::METHOD_DELETE in Abstract.php
METHOD_GET
  Zend_Http_Client_Abstract::METHOD_GET in Abstract.php
  HTTP request methods
METHOD_HEAD
  Zend_Http_Client_Abstract::METHOD_HEAD in Abstract.php
METHOD_OPTIONS
  Zend_Http_Client_Abstract::METHOD_OPTIONS in Abstract.php
METHOD_POST
  Zend_Http_Client_Abstract::METHOD_POST in Abstract.php
METHOD_PUT
  Zend_Http_Client_Abstract::METHOD_PUT in Abstract.php
METHOD_TRACE
  Zend_Http_Client_Abstract::METHOD_TRACE in Abstract.php
extractBody
  Zend_Http_Response::extractBody() in Response.php
  Extract the body from a response string
extractCode
  Zend_Http_Response::extractCode() in Response.php
  Extract the response code from a response string
extractHeaders
  Zend_Http_Response::extractHeaders() in Response.php
  Extract the headers from a response string
extractMessage
  Zend_Http_Response::extractMessage() in Response.php
  Extract the HTTP message from a response
extractVersion
  Zend_Http_Response::extractVersion() in Response.php
  Extract the HTTP version from a response

f
top

factory
  Zend_Http_Cookiejar::factory() in Cookiejar.php
  Create a new CookieJar object and automatically load into it all the cookies set in an Http_Response object. If $uri is set, it will be considered as the requested URI for setting default domain and path of the cookie.
factory
  Zend_Http_Cookie::factory() in Cookie.php
  Generate a new Cookie object from a cookie string (for example the value of the Set-Cookie HTTP header)
$files
  Zend_Http_Client::$files in Client.php
  File upload arrays (used in POST requests)
factory
  Zend_Http_Response::factory() in Response.php
  Create a new Zend_Http_Response object from a string

g
top

getAllCookies
  Zend_Http_Cookiejar::getAllCookies() in Cookiejar.php
  Get all cookies in the cookie jar as an array
getCookie
  Zend_Http_Cookiejar::getCookie() in Cookiejar.php
  Get a specific cookie according to a URI and name
getDomain
  Zend_Http_Cookie::getDomain() in Cookie.php
  Get cookie domain
getExpiryTime
  Zend_Http_Cookie::getExpiryTime() in Cookie.php
  Get the expiry time of the cookie, or null if no expiry time is set
getMatchingCookies
  Zend_Http_Cookiejar::getMatchingCookies() in Cookiejar.php
  Return an array of all cookies matching a specific request according to the request URI, whether session cookies should be sent or not, and the time to consider as "now" when checking cookie expiry time.
getName
  Zend_Http_Cookie::getName() in Cookie.php
  Get Cookie name
getPath
  Zend_Http_Cookie::getPath() in Cookie.php
  Get the cookie path
getValue
  Zend_Http_Cookie::getValue() in Cookie.php
  Get cookie value
get
  Zend_Http_Client_Abstract::get() in Abstract.php
  Send a GET request
getCookiejar
  Zend_Http_Client::getCookiejar() in Client.php
  Return the current cookie jar or null if none.
getHeader
  Zend_Http_Client_Abstract::getHeader() in Abstract.php
  Get the value of a specific header
getLastRedirectionsCount
  Zend_Http_Client::getLastRedirectionsCount() in Client.php
  Get the number of redirections done on the last request
getLastRequest
  Zend_Http_Client_Abstract::getLastRequest() in Abstract.php
  Get the last HTTP request as string
getMethod
  Zend_Http_Client_Abstract::getMethod() in Abstract.php
  Get the currently-set request method (GET, POST, etc.)
getUri
  Zend_Http_Client_Abstract::getUri() in Abstract.php
  Get the URI for the next request
getBody
  Zend_Http_Response::getBody() in Response.php
  Get the response body as string
getHeader
  Zend_Http_Response::getHeader() in Response.php
  Get a specific header as string, or null if it is not set
getHeaders
  Zend_Http_Response::getHeaders() in Response.php
  Get the response headers
getHeadersAsString
  Zend_Http_Response::getHeadersAsString() in Response.php
  Get all headers as string
getMessage
  Zend_Http_Response::getMessage() in Response.php
  Return a message describing the HTTP response code (Eg. "OK", "Not Found", "Moved Permanently")
getRawBody
  Zend_Http_Response::getRawBody() in Response.php
  Get the raw response body (as transfered "on wire") as string
getStatus
  Zend_Http_Response::getStatus() in Response.php
  Get the HTTP response status code
getVersion
  Zend_Http_Response::getVersion() in Response.php
  Get the HTTP version of the response

h
top

$headers
  Zend_Http_Client_Abstract::$headers in Abstract.php
  Associative array of request headers
$http_version
  Zend_Http_Client_Abstract::$http_version in Abstract.php
  Request HTTP version (1.0 or 1.1)
$headers
  Zend_Http_Response::$headers in Response.php
  The HTTP response headers array

i
top

isExpired
  Zend_Http_Cookie::isExpired() in Cookie.php
  Check whether the cookie has expired
isSecure
  Zend_Http_Cookie::isSecure() in Cookie.php
  Check whether the cookie should only be sent over secure connections
isSessionCookie
  Zend_Http_Cookie::isSessionCookie() in Cookie.php
  Check whether the cookie is a session cookie (has no expiry time set)
isError
  Zend_Http_Response::isError() in Response.php
  Check whether the response is an error
isRedirect
  Zend_Http_Response::isRedirect() in Response.php
  Check whether the response is a redirection
isSuccessful
  Zend_Http_Response::isSuccessful() in Response.php
  Check whether the response in successful

l
top

$last_request
  Zend_Http_Client_Abstract::$last_request in Abstract.php
  The last HTTP request sent by the client, as string

m
top

match
  Zend_Http_Cookie::match() in Cookie.php
  Checks whether the cookie should be sent on not in a specific scenario
$maxRedirects
  Zend_Http_Client::$maxRedirects in Client.php
  Maximum number of redirections to follow, 0 for none.
$method
  Zend_Http_Client_Abstract::$method in Abstract.php
  HTTP request method
$message
  Zend_Http_Response::$message in Response.php
  The HTTP response code as string (e.g. 'Not Found' for 404 or 'Internal Server Error' for 500)

n
top

$name
  Zend_Http_Cookie::$name in Cookie.php
  Cookie name
ENC_FORMDATA
  Zend_Http_Client_Abstract::ENC_FORMDATA in Abstract.php
ENC_URLENCODED
  Zend_Http_Client_Abstract::ENC_URLENCODED in Abstract.php
  POST data encoding methods

o
top

COOKIE_OBJECT
  Zend_Http_Cookiejar::COOKIE_OBJECT in Cookiejar.php
  Return cookie(s) as a Zend_Http_Cookie object
COOKIE_STRING_ARRAY
  Zend_Http_Cookiejar::COOKIE_STRING_ARRAY in Cookiejar.php
  Return cookie(s) as a string (suitable for sending in an HTTP request)
COOKIE_STRING_CONCAT
  Zend_Http_Cookiejar::COOKIE_STRING_CONCAT in Cookiejar.php
  Return all cookies as one long string (suitable for sending in an HTTP request)

p
top

$path
  Zend_Http_Cookie::$path in Cookie.php
  Cookie path
$paramsGet
  Zend_Http_Client_Abstract::$paramsGet in Abstract.php
  Associative array of GET parameters
$paramsPost
  Zend_Http_Client_Abstract::$paramsPost in Abstract.php
  Assiciative array of POST parameters
$proxy
  Zend_Http_Client::$proxy in Client.php
  HTTP proxy settings
post
  Zend_Http_Client_Abstract::post() in Abstract.php
  Send a POST request
put
  Zend_Http_Client_Abstract::put() in Abstract.php
  Send a PUT request

r
top

$raw_post_data
  Zend_Http_Client_Abstract::$raw_post_data in Abstract.php
  The raw post data to send. Could be set by setRawPostData($data, $enctype).
$redirectCounter
  Zend_Http_Client::$redirectCounter in Client.php
  Redirection counter
Response.php
  Response.php in Response.php
request
  Zend_Http_Client::request() in Client.php
  Send the HTTP request and return an HTTP response object
request
  Zend_Http_Client_Abstract::request() in Abstract.php
  Send the HTTP request and return a response
resetParameters
  Zend_Http_Client::resetParameters() in Client.php
  Clear all GET and POST parameters
resetParameters
  Zend_Http_Client_Abstract::resetParameters() in Abstract.php
  Clear all GET and POST parameters
responseCodeAsText
  Zend_Http_Response::responseCodeAsText() in Response.php
  A convenience function that returns a text representation of HTTP response codes. Returns null for unknown codes.

s
top

$secure
  Zend_Http_Cookie::$secure in Cookie.php
  Whether the cookie is secure or not
setAuth
  Zend_Http_Client::setAuth() in Client.php
  Set HTTP authentication parameters
setCookie
  Zend_Http_Client_Abstract::setCookie() in Abstract.php
  Set a cookie parameter
setCookie
  Zend_Http_Client::setCookie() in Client.php
  Add a cookie to the request. If the client has no Cookie Jar, the cookies will be added directly to the headers array as "Cookie" headers.
setCookiejar
  Zend_Http_Client::setCookiejar() in Client.php
  Set the HTTP client's cookie jar.
setEncType
  Zend_Http_Client_Abstract::setEncType() in Abstract.php
  Set the encoding type for POST data
setFileUpload
  Zend_Http_Client::setFileUpload() in Client.php
  Set a file to upload (using a POST request)
setHeader
  Zend_Http_Client_Abstract::setHeader() in Abstract.php
  Set or unset a request header field
setHeaders
  Zend_Http_Client_Abstract::setHeaders() in Abstract.php
  Set the next request's headers.
setMaxRedirects
  Zend_Http_Client::setMaxRedirects() in Client.php
  Set the number of maximum redirections to follow, 0 for none.
setMethod
  Zend_Http_Client_Abstract::setMethod() in Abstract.php
  Set the next request's method
setParameterGet
  Zend_Http_Client_Abstract::setParameterGet() in Abstract.php
  Set a GET parameter for the request. Wrapper around _setParameter
setParameterPost
  Zend_Http_Client_Abstract::setParameterPost() in Abstract.php
  Set a POST parameter for the request. Wrapper around _setParameter
setProxy
  Zend_Http_Client::setProxy() in Client.php
  Set a proxy server for the request
setRawData
  Zend_Http_Client_Abstract::setRawData() in Abstract.php
  Set the raw (already encoded) POST data.
setStrictRedirects
  Zend_Http_Client::setStrictRedirects() in Client.php
  Set whether to strictly follow RFC 2616 when redirecting or not (See documentation for Zend_Http_Client::doStrictRedirects for details)
setTimeout
  Zend_Http_Client_Abstract::setTimeout() in Abstract.php
  Set the client's connection timeout in seconds, 0 for none
setUri
  Zend_Http_Client_Abstract::setUri() in Abstract.php
  Set the URI for the next request
setUserAgent
  Zend_Http_Client_Abstract::setUserAgent() in Abstract.php
  Set the user agent identification string

t
top

$timeout
  Zend_Http_Client_Abstract::$timeout in Abstract.php
  Request timeout in seconds
HTTP_VER_0
  Zend_Http_Client_Abstract::HTTP_VER_0 in Abstract.php
HTTP_VER_1
  Zend_Http_Client_Abstract::HTTP_VER_1 in Abstract.php
  HTTP protocol versions

u
top

$uri
  Zend_Http_Client_Abstract::$uri in Abstract.php
  Request URI
$user_agent
  Zend_Http_Client_Abstract::$user_agent in Abstract.php
  The user agent string that identifies the HTTP client
AUTH_BASIC
  Zend_Http_Client::AUTH_BASIC in Client.php
  Supported HTTP Authentication methods

v
top

$value
  Zend_Http_Cookie::$value in Cookie.php
  Cookie value
validateHeaders
  Zend_Http_Client_Abstract::validateHeaders() in Abstract.php
  Validate an array of headers.
$version
  Zend_Http_Response::$version in Response.php
  The HTTP version (1.0, 1.1)

z
top

Zend_Http_Cookie
  Zend_Http_Cookie in Cookie.php
  Zend_Http_Cookie is a class describing an HTTP cookie and all it's parameters.
Zend_Http_Cookiejar
  Zend_Http_Cookiejar in Cookiejar.php
  A Zend_Http_Cookiejar object is designed to contain and maintain HTTP cookies, and should be used along with Zend_Http_Client in order to manage cookies across HTTP requests and responses.
Zend_Http_Client
  Zend_Http_Client in Client.php
  Zend_Http_Client is an implemetation of an HTTP client in PHP. The client
Zend_Http_Client_Abstract
  Zend_Http_Client_Abstract in Abstract.php
  Zend_Http_Client_Abstract is the abstract of a Zend HTTP Client class. For the default implementation, use the Zend_Http_Client class.
Zend_Http_Exception
  Zend_Http_Exception in Exception.php
Zend_Http_Response
  Zend_Http_Response in Response.php
  Zend_Http_Response represents an HTTP 1.0 / 1.1 response message. It includes easy access to all the response's different elemts, as well as some convenience methods for parsing and validating HTTP responses.