Support the ongoing development of →
Requests Input
Last updated 2 years ago.

HEAD is for retrieving only the headers response when the client make a request to your server

a common server response is something like this:

HTTP/1.1 200 OK
Date: Tue, 04 Mar 2014 18:26:30 GMT
Server: Apache/2.2.22 (Win32) PHP/5.4.3
X-Powered-By: PHP/5.4.3
Cache-Control: no-cache
X-Frame-Options: SAMEORIGIN
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

using a HEAD type request just only get the headers, those data before the <HTML> code starts in this case

Last updated 2 years ago.

Thanks. I was wondering why "HEAD" started showing up in the artisan route command. Maybe it's always been there, I just never noticed it.

Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.