Hey all,
Don't see it indicated in the docs but debugging revealed that custom headers
set on an HTTPService GET are not sent. Is this correct or am I missing
something?
var httpService:HTTPService = new HTTPService();
httpService.method = 'GET';
httpService.headers = {customHeader: 'foobar'};
httpService.send({});
/*
server-side all I see is:
[Fri Feb 29 10:05:34 2008] [error] Accept: */*
[Fri Feb 29 10:05:34 2008] [error] Accept-Encoding: gzip, deflate
[Fri Feb 29 10:05:34 2008] [error] Accept-Language: en
[Fri Feb 29 10:05:34 2008] [error] Connection: keep-alive
[Fri Feb 29 10:05:34 2008] [error] Content-Length: 14
[Fri Feb 29 10:05:34 2008] [error] Content-Type:
application/x-www-form-urlencoded
If I switch method = 'POST' then I see:
[Fri Feb 29 10:06:12 2008] [error] customHeader: foobar
*/
Thanks,
- Ivo