HTTP/0.9 response with invalid content length header and close a socket after certain time limit

Parthipan P 1 Reputation point
2022-12-06T08:25:48.403+00:00

Hello,

Regarding the download of the Windows Feature Pack, I have two questions.
1. Using the HTTP Response and HTTP Connection classes, I download the Windows feature pack (Dependency Patch for Windows 10 (21H2) - November 2021 Update (x64)). I sent a GET request using the HTTP/1.1 protocol without transfer encoding header, but the Microsoft server responded using the HTTP/0.9 protocol with an error invalid content length header.
Actually, the size of the feature pack and the content length that was printed in my log are identical. however, the content length header value is -1 in the response header I have received. why did the server respond with an incorrect response with the HTTP 0.9 protocol version?

  1. The Windows Feature Pack is downloaded fully (in its entirety) despite receiving a notification about an invalid content length and waiting for the socket to be closed for a predetermined amount of time (in my instance, three minutes) for the download to be successful. I tried several feature packs, but the waiting period for completion remained the same. Why is the server-side (Microsoft) confirmation of the download being waited for?

In addition to that, may I know the average waiting timeout for the socket which is used to receive data from the server side (Microsoft)?

*note - The same feature pack URL is sent to browser the file is downloaded without any issue

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,766 Reputation points
    2022-12-12T08:46:36.923+00:00

    Hi. Thank you for your question and reaching out.

    This update is superseded in Windows 10 1511 by update 3099229 for the Media Feature Pack published in November 2015.

    This Media Feature Pack is compatible with Windows 10 build 1508, which. If you have a different version of Windows, please visit KB 3145500 to locate the proper Media Feature Pack.

    For reference/more information, please see https://support.microsoft.com/en-us/topic/229a1ad7-7a3f-87f7-9f0b-ff92fb96b3e4

    ---------------------------------------------------------------------------------------------------------------------------------

    If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.