Thank you for your reply. but you seem to forget to tell me that if you've
ever tried that function or that you just got it from the manual. I've tried
it and could not get to work at all because I just simply don't know what
"attr" would be. If I set it to zero, it is invalid. If I set it to any of
the given "enum", I got parameter error.
Let me ask you again. Have you ever used it? If so, please let me know what
attr value should I be using?
Thanks.
>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED]]On Behalf Of
>>manikumar
>>Sent: Sunday, May 13, 2001 7:00 PM
>>To: Palm Developer Forum
>>Subject: Re: INET library
>>
>>
>>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/
>>
>>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/