Hi,
Please try the following steps,
1: Store the additional HTTP header in a Char array or Pointer
eg:
void * bufP="content-type: text/xml";
2: Send this parameter with the INetLibSockHTTPAttrSet call.
eg:
INetLibSockHTTPAttrSet (libRefnum, sockH, attr, attrIndex, bufP,
StrLen(bufLen), flags)
For more information visit the link below:
http://oasis.palm.com/dev/kb/manuals/1741.cfm
Thanks,
Manikumar K
-------------------------------------------------------------------
Developers' Nation
You've got the questions; we've got the answers.
Visit Us At :http://www.devnation.net for Palm Developer Support
--------------------------------------------------------------------
"Kiet T. Tran" <[EMAIL PROTECTED]> wrote in message
news:48412@palm-dev-forum...
>
>
> Hi -
>
> Does anyone know how to add additional HTTP headers using
> INetLibSockHTTPAttrSet?
> For example, if I want to add/change content-type: text/xml?
>
> Thanks.
>
> Regards,
>
> Kiet Tran, [EMAIL PROTECTED]
> http://middlewarebridge.com
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/