homepage Welcome to WebmasterWorld Guest from 54.161.240.10
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Search Engines / Search Engine Spider and User Agent Identification
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL

Search Engine Spider and User Agent Identification Forum

    
What isthe purpose of "HEAD / HTTP/1.1" or "GET / HTTP/1.1"?
I see these entries often in my web logs
Wizcrafts




msg:402245
 4:50 pm on Aug 29, 2003 (gmt 0)

These items keep showing up in my web logs and I would like to know what they represent, in tech terms.
1: "GET / HTTP/1.0"
2: "GET / HTTP/1.1"
3: "HEAD / HTTP/1.1"
Sometimes these requests preceed requests for other pages, and sometimes they are all alone.

Wiz

 

WarmGlow




msg:402246
 6:53 pm on Aug 29, 2003 (gmt 0)

"GET / HTTP/1.1"

The three variables enclosed in quotes are Request Type, Document URI, and Protocol.

Request Type: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, PATCH, PROPFIND, PROPPATCH, MKCOL, COPY, MOVE, LOCK, UNLOCK, TRACE.

Document URI: Forward slash only (/) is a request for the domain root index file.

Protocol: HTTP/1.0 or HTTP/1.1.

A HEAD request asks the server to reply with the document headers. Here is an example server reply to a HEAD request:

HTTP/1.1 200 OK
Date: Fri, 29 Aug 2003 17:59:13 GMT
Server: Apache/1.3.27
Cache-Control: max-age=86400, must-revalidate
Last-Modified: Tue, 26 Aug 2003 22:19:18 GMT
ETag: "c20bf0-216b-3f4bdce6"
Accept-Ranges: bytes
Content-Length: 8555
Connection: close
Content-Type: text/html

Wizcrafts




msg:402247
 4:17 pm on Aug 31, 2003 (gmt 0)


The three variables enclosed in quotes are Request Type, Document URI, and Protocol.

I knew that, I was am curious what purpose would be behind requests coming in for only these headers and not any of my web pages? Is this the mark of a S.E.? Most human visitors leave a trail of web pages, ads, images, etc. These log entries usually want nothing more that a HTTP response. It has me curious.

Xiaoth




msg:402248
 11:55 am on Sep 1, 2003 (gmt 0)

The "/" is the resource indicator, or in this case root index of your site.

So if you have, say, "index.html" in the root directory of your web site, the request "GET / HTTP/1.1" is a request for that file. Make sense?

Wizcrafts




msg:402249
 4:31 pm on Sep 1, 2003 (gmt 0)


The "/" is the resource indicator, or in this case root index of your site.
So if you have, say, "index.html" in the root directory of your web site, the request "GET / HTTP/1.1" is a request for that file. Make sense?

Thanks for the explanation Xiaoth. Now I understand why no filename follows those requests. This will help me when I analyze statistics and takes away the worry about nefarious activities.

WarmGlow




msg:402250
 8:00 pm on Sep 1, 2003 (gmt 0)

Wizcrafts wrote:
Thanks for the explanation Xiaoth. Now I understand why no filename follows those requests.

Apparently you did not read the following line in message #2:
Document URI: Forward slash only (/) is a request for the domain root index file.

Wizcrafts




msg:402251
 8:26 pm on Sep 1, 2003 (gmt 0)

You're right Warmglow, I missed it. Thanks for the explanation.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Search Engines / Search Engine Spider and User Agent Identification
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved