Gabe,
I am finally starting to play around with the HttpClient component. Hope you don’t mind some very basic questions.
I tried baby steps with a GET. The request appears to be work ok. I receive the expected response, but I get this action script error.
ReferenceError: Error #1065: Variable com.hurlant.crypto.tls::TLSSocket is not defined.
at org.httpclient::HttpSocket/onResponseComplete()[/Users/gabe/Projects/as3httpclient/src/org/httpclient/HttpSocket.as:264]
at org.httpclient.io::HttpResponseBuffer/writeBytes()[/Users/gabe/Projects/as3httpclient/src/org/httpclient/io/HttpResponseBuffer.as:119]
at org.httpclient::HttpSocket/onSocketData()[/Users/gabe/Projects/as3httpclient/src/org/httpclient/HttpSocket.as:251]
Also, can keep the connection open? Here are the headers…
The request headers
GET /dls/repository/resource/favorites?h=dXNlcjE6eHh4&user=user1 HTTP/1.1
Host: localhost:9080
Connection: close
and the response headers are:
HTTP/1.1 200 OK
Host: localhost:9080
Connection: Close
Server: Day-Servlet-Engine/4.1.3
Content-Type: application/xml
Date: Mon, 02 Mar 2009 22:46:06 GMT
Transfer-Encoding: chunked