HTTP Response Parser
Located in /libraries/simplepie/simplepie.php (line 7867)
Body of the response
Input data
Input data length (to avoid calling strlen() everytime this is needed)
Key/value pairs of the headers
HTTP Version
Name of the hedaer currently being parsed
Current position of the pointer
Reason phrase
Current state of the state machine
Status code
Value of the hedaer currently being parsed
Create an instance of the class with the input data
Parse the body
Check whether there is data beyond the pointer
Parse the HTTP version
See if the next character is LWS
Parse LWS, replacing consecutive LWS characters with a single space
Parse a header name
Deal with a new line, shifting data around as needed
Parse the input data
See what state to move to while within quoted header values
Parse a header value while within quotes
Parse an escaped character within quotes
Parse the reason phrase
Parse the status code
See what state to move to while within non-quoted header values
Parse a header value while outside quotes
Documentation generated on Mon, 25 Jun 2012 13:59:35 -0500 by phpDocumentor 1.4.4