As I find out the HTTP HEAD method is not always reliable in practice: Reliability of HTTP HEAD method
Is it possible to emulate the HTTP HEAD method with the HTTP GET method? I mean I just need headers of the answer so it should suffice to restrict maximum amount of data. Can I do that in .NET?
Thanks!
No, of course not. A GET request always comes with a body in response. That’s what the HTTP specification says. So unless you find a web server which violates the HTTP specification I don’t think it will work. Only the HEAD verb is designed to achieve what you are looking for.