Re: is there keep-alive support in HTTP_Request2?
| From: | Alexey Borzov | Date: | Wed, 26 Nov 2008 09:40:35 +0000 |
| Subject: | Re: is there keep-alive support in HTTP_Request2? | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51162@lists.php.net to get a copy of this message | ||
Hi,
Marc Vaillant wrote:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6The stuff your server is sending is *not* HTTP responses, but HTTP requests! POST / HTTP/1.1 Host: User-Agent: gSOAP/2.7 definitely doesn't look like a response to me. Dunno how exactly one should work with that server, but HTTP_Request2's scope is sending requests and parsing responses, not vice-versa...What should proper responses look like?
I want to send a single request and get multiple responses over the same connection.I *think* that does not conform to HTTP spec. I'd also suggest to look at SOAP package that is in PEAR http://pear.php.net/package/SOAP as it may contain the functionality you want.