Perhaps someone can help me with a problem I'm having. I want
to set an Authorization header in an HTTP request. From the
documentation, I can set the "headers" attribute in the HTTPService
element or I can use a <mx:headers> subelement. It is looking
for an object or array. I hoping to set the header to look like:
Authorization: GoogleLogin auth=1234abcd....
When I use an object, it does not show at all. When I use an
array of a single string, it includes the zero index of the array
in the header something like:
0: Authorization: GoogleLogin....
Has anybody added custom headers to Http requests before?
What am I missing?