Re: Transfer-encoding:chunked



Ask additionally on microsoft.public.winhttp
Arkady

"koroppo" <koroppo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4E599E28-ED62-4D6A-97DB-985FF545DACD@xxxxxxxxxxxxxxxx
Hi:
I have follow the "how to enable chunked transfer encoding with IIS
("http://support.microsoft.com/kb/278998).
I am not sure if all the webpages of IIS will be sent in chunked after my
setting .
Does "chunked" a feather of web server?


If so, is it possible for me to use:
HttpQueryInfo(hRequest,HTTP_QUERY_CONTENT_LENGTH|HTTP_QUERY_FLAG_NUMBER,(LPVOID)&dwContentLen,
&dwBufLen,NULL);
to get the content length?

Also, I always get an error 12150 after using:
DWORD dwTransferEncoding = 100;
LPVOID lpTransferEncodingBuffer = new wchar_t[100];

HttpQueryInfo(hRequest,HTTP_QUERY_TRANSFER_ENCODING,(LPVOID)&lpTransferEncodingBuffer,&dwTransferEncoding,NULL);
swprintf_s(DebugBuffer, _T("transfer encoding, error:%d\n"),
GetLastError());
OutputDebugString(DebugBuffer);

error 12150 means: The requested header could not be located and I have
no
idea at all.

Could anyone here be kind to help me?
how can I detect whether the webpage will be sent chunked or not?
A sample will help me a lot.

thanks in advance!



.



Relevant Pages

  • why these ODBC driver errors in new IIS ?
    ... I made more webpages based on ASP connecting Access databases successfully ... Now, my new IIS 5.1 provided by XP PRO above, seems to be not able to run ...
    (microsoft.public.inetserver.iis)
  • Transfer-encoding:chunked
    ... I have follow the "how to enable chunked transfer encoding with IIS ... I am not sure if all the webpages of IIS will be sent in chunked after my ...
    (microsoft.public.win32.programmer.networks)
  • objects indexing vs. webpage indexing (newbie questions)
    ... I believe there are 2 kinds of indexing in Windows 2000: ... I want to index a bunch of webpages, ... do I need IIS running on the same machine as the index/catalog? ...
    (microsoft.public.inetserver.indexserver)
  • Re: IIS frames
    ... i am making some webpages for a friend and i am using IIS 5.1 with ... windows xp as my web server just to test the webpages before they are ... so i have webpages with frames. ...
    (microsoft.public.inetserver.iis)

Loading