Hi Ajit,
If you are running the sample INetLow.c from Palm, try changing ,
inetHTTPAttrIncHTTP to false from line
error = INetLibSockHTTPAttrSet(inetInfoBlock.inetRefNum,
inetInfoBlock.inetSockH, inetHTTPAttrIncHTTP, attrIndex,
(UInt8*)&inetInfoBlock.includeHeaders, sizeof(inetInfoBlock.includeHeaders),
flags);
(i.e)
error = INetLibSockHTTPAttrSet(inetInfoBlock.inetRefNum,
inetInfoBlock.inetSockH, false, attrIndex,
(UInt8*)&inetInfoBlock.includeHeaders,
sizeof(inetInfoBlock.includeHeaders), flags);
Note:
inetHTTPAttrIncHTTP -- causes HTTP header data to be included as
part of the content when retrieving raw data.
Its a Boolean that, if set, causes HTTP header data to be included as
part of the content when retrieving raw data.
Thanks,
Manikumar K
www.devnation.net
--------------------------------------------------------------------
Developers' Nation
You've got the questions; we've got the answers.
Visit Us At :http://www.devnation.net for Palm Developer Support
--------------------------------------------------------------------
"Ajit N.K" <[EMAIL PROTECTED]> wrote in message
news:49956@palm-dev-forum...
>
> hi evrybody,
>
> i am running the sample INetLib example (InetLow project).
> Its working fine.
>
> The problem is i am also getting the HTTP Header in the response when i do
> get.
> how can i avoid getting HTTP headers in my response.
>
> Cheers
> Ajit
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/