Hi,

I have been trying to read the Content-Length http response header using
INetLibSockHTTPAttrGet( ) method.  Unfortunately it always returns 0.  I
read the whole response successfully but instead of making a call to
INetLibSockHTTPAttrGet( ) for every INet event I am still get 0 returned
everytime.

            error = INetLibSockHTTPAttrGet(inetRefNum,
                                           inetSockH,
                                           inetHTTPAttrContentLength,
                                           0,
                                           (MemPtr)contentLength,
                                           &size);

When should I make this call to work properly.

Thanks in advance

- Kamran



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to