• Post Reply Bookmark Topic Watch Topic
  • New Topic

Idempotent doubt...

 
shri mon
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following operations are idempotent?

POST
GET
TRACE
HEADER
PUT

Thanks in advance
Shrimon.
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

According to the HTTP specs only POST and CONNECT are idempotent. There are lot of threds on this in this forum. Please search them, it will give some valuable links about this.

Thanks
 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
GET is the method that is idempotent.
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please make correction.
According to the HTTP specs only POST and CONNECT are not idempotent.

Thanks
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!