Thanks, I added your patch for the case when there is no content-
length. It seems weird that web servers would choose not to send a
content-length (or at least use chunked encoding) but so be it.
Also, I double checked the arg mismatch, and I can't reproduce... I
did change the listener callback signatures awhile back to:
* - onClose(e:Event)
* - onComplete(e:HttpResponseEvent)
* - onConnect(e:HttpRequestEvent)
* - onData(e:HttpDataEvent)
* - onError(e:ErrorEvent)
* - onStatus(e:HttpStatusEvent)
* - onRequest(e:HttpRequestEvent)
Can you double check you are using the new callback signatures? I
tried to reproduce the arg mismatch on security error but after
updating to flash 10 standalone player I lost trace debugging which is
making my life difficult. Adobe seems to do that a lot though so I am
sort of used to it. I must be some kind of masochist or something. I
did however add a test where it tries to load a bad domain name and it
seems to get the IOErrorEvent ok, so it might be fixed.
Anyway, built a new swc 1.0.4 and put it up on the downloads page.
Thanks for feedback and help and sorry it took me so long to take a
look at this.
On Feb 22, 3:44 pm, steve <
steverei...@integratedsemantics.com> wrote:
> Had just posted (think it went to gabe not the group) about gettng
> truncated response data even using onDataComplete (with sequential
> requests). Found wasn't getting content length headers from the
> server I was using. Using code from issue 4 comment 2
http://code.google.com/p/as3httpclientlib/issues/detail?id=4 solved