HEAD and PUT

Discussion in 'Site & Server Administration' started by norfstar, Jul 12, 2005.

  1. #1
    I'm writing myself a script to analyse traffic to my websites, and one of the fields in the database is the request method.

    Now, I'm completely familiar with GET and POST, but really have very little knowledge of the other two possibilities, HEAD and PUT. Can anyone shed a little light on them, or point me in the direction of an article with more information?
     
    norfstar, Jul 12, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    HEAD is when the client just requests headers (often this is done by the client to see if the document has changed).

    PUT is used for updating something on the server. There is a good article about it here:

    http://www.apacheweek.com/features/put
     
    digitalpoint, Jul 12, 2005 IP
  3. norfstar

    norfstar Peon

    Messages:
    1,154
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks :).
     
    norfstar, Jul 12, 2005 IP