Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Only POST is not considered idempotent ?

 
muthu moorthy
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont understand what the HF JSP errata says.

(114), the answer to the "Sharpen your pencil" exercise
"The HTTP 1.1 spec declares GET, HEAD, and PUT as idempotent, even
though you CAN write a non-idemptotent doGet() method
should be:
"The HTTP 1.1 spec declares GET, HEAD, and PUT as idempotent, even
though you CAN write a non-idempotent doGet() method
the term "non-idemptotent" should read "non-idempotent"
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According specification only POST is non-idempotent all other methods are idempotent.
specification says that POST should be non-idempotent.
But developer can write POST in such a way that it will become idempotent.
so moral of the story is that you should always write POST according specification which is non-idempotent.
 
muthu moorthy
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, i was in fear while i go for the exam without clear idea about this. Gowher, Great.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic