• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Idempotent

 
Tom Tolman
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On the bottom of page 114 of HFSJ it says "The Http 1.1 spec declared GET, HEAD, and PUT as idempotents, even though you CAN write a non idempotent doGet() method yourself (but shouldn't). POST is considered idempotent by the HTTP 1.1 spec."

Then immediately it says "POST is not idempotent"

Is the first paragraph last line a typo, or is it that they are making a distinction between intention of server response vs the actuality of correct server response?
 
Chandra Atla
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tom,

The first paragraph's last line a typo. It's documented in the HFSJ errata.

Here is the link to HFSJ Errata.

http://www.oreilly.com/catalog/headservletsjsp/errata/

Thanks,
Chandra
 
Nicky Eng
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
POST is non-idempotent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic