Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doHead processing

 
Parth Twari
Ranch Hand
Posts: 163
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
doGet() will process HEAD requests in the absence of a doHead() method?

true/false?

Source: SAI

Answer given : true
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is true. normally you do not need to override doHead method to handle HEAD request. system calls doGet in the absence of doHead.thats all I know
 
Parth Twari
Ranch Hand
Posts: 163
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok thanks..

I tested it and got the same answer as you said
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic