Re: is there keep-alive support in HTTP_Request2?
| From: | Marc Vaillant | Date: | Fri, 28 Nov 2008 15:06:07 +0000 |
| Subject: | Re: is there keep-alive support in HTTP_Request2? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51181@lists.php.net to get a copy of this message | ||
Hi Alexey,
On Nov 26, 2008, at 4:40, Alexey Borzov <borz_off@cs.msu.su> wrote:
Hi, Marc Vaillant wrote:Ok thanks, i guess our gsoap server doesn't conform to spec in the way that it uses the connection.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.Thanks, we use wso2's wsf extension which has good wsdl support and supports mtom/xop which we need bc we cant afford to base 64 encode our binary data. It doesnt support keep alive which is why i was looking into http_request2 for communications, and then passing off to wsf for soap parsing. Alas, we're not using proper http anyway. Thanks, Marc