Given that it's the only thing happening in this function... Is it not described by the function headers? I supposed I could add in some links to the RFC, but that's all this is doing. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.24 and http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.26 ...  Just parsing from the given format into something more easily usable in PHP.