HF RL Explorer

Task: Get File Size from HTTP Headers

Task: Get File Size from HTTP Headers: a task in Terminal-Lego-15k (Harbor dataset). Create a C console application that retrieves the file size of a remote resource (webpage, image, or media file) using HTTP headers without downloading the entire file . The application should use the HTTP HEAD…

The task

Create a C# console application that retrieves the file size of a remote resource (webpage, image, or media file) using HTTP headers **without downloading the entire file**. The application should use the HTTP HEAD request method to fetch only the headers and extract the `Content-Length` header value.

Part of PrimeIntellect/Terminal-Lego-15k.