• Post Reply Bookmark Topic Watch Topic
  • New Topic

idempotent  RSS feed

 
agrah upadhyay
Ranch Hand
Posts: 579
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to ask why the TRACE and OPTIONS methods are not declared to be idempotent?

Thanx
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by agrah upadhyay:
I want to ask why the TRACE and OPTIONS methods are not declared to be idempotent?


However, OPTIONS and TRACE have same characteristic of not having side effects and so are intrinsically idempotent.

Link to RFC 2616 Sec. 9
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!