http-head Questions

10

Solved

I am setting-up a REST web service that just need to answer YES or NO, as fast as possible. Designing a HEAD service seems the best way to do it but I would like to know if I will really gain some ...
Regenerate asked 14/5, 2013 at 9:14

15

Solved

By using python, how can I check if a website is up? From what I read, I need to check the "HTTP HEAD" and see status code "200 OK", but how to do so ? Cheers Related How do yo...
Elinoreeliot asked 22/12, 2009 at 21:31

5

Solved

I'm currently getting the info about the files with GET, will it be faster if I rewrite it using HEAD request? Cause I close the connection after the first response.
Mike asked 20/8, 2011 at 16:8

1

Solved

In my ASP.NET core Controller I've got the following HttpGet-function: [HttpGet("[action]")] [HttpHead("[action]")] [ResponseCache(NoStore = true)] public async Task<IActionResult> GetProofP...
Coliseum asked 12/12, 2017 at 14:56

1

I am sending an ajax HEAD request to a file served over CloudFront. The max-age set for this file in S3 is 1800. Always it miss the cache in CloudFront. Is this the expected behavior? Or is there ...
Undenominational asked 26/9, 2016 at 9:42

3

I would like to make a simple HTTP HEAD request, without keep-alive. How can I do that in Android?
Circumgyration asked 20/3, 2014 at 18:10

4

I have an domain name to test. Ping is ~20 ms. 'HTTP HEAD' is ~500 ms. Why there are so big difference between them? Is this a server-side problem? Isn't there are too big difference? 25 times.
Herzel asked 8/12, 2014 at 21:0

2

Solved

In our internal angularjs project, one of the services has $http.head() call which I'm trying to test. For testing, I'm using Fake HTTP backend provided by angular-mocks. Here is the relevant code...
Advantage asked 19/9, 2014 at 17:49

2

We have an ASP.Net MVC3 site only accessible over HTTPS, by using the RequireHTTPS attribute on the controller. We are receiving numerous HTTP HEAD method requests, mainly from what appear to be T...
Drud asked 15/12, 2011 at 17:15

1

Seems that Apache insists on removing the "Content-Length" header when sending a response to a HEAD request. Is there a way to configure it (or code it in PHP) to send "Content-Length: 0" for such...
Laterite asked 5/2, 2014 at 10:4

2

Solved

I'd like to correctly support the HTTP HEAD request when bots hit my ASP.NET MVC site using HEAD. It was brought to my attention that all HTTP HEAD requests to the site were returning 404s, particu...
Corrinecorrinne asked 5/7, 2010 at 18:29

1

Solved

Background I've been timing some HTTP requests via the CLI using time and tools such as wget and curl as follows: /usr/bin/time -v wget --spider http://localhost/index /usr/bin/time -v curl http://...
Substratosphere asked 28/11, 2011 at 16:12
1

© 2022 - 2025 — McMap. All rights reserved.