HTTP ã¡ã½ããã®ç¾ç
Web+DB Press ãè¦ã¦ãç¾çãªã¡ã½ããã¨ããæ¦å¿µãç¥ã£ãã
Studying HTTP çµç±ã§
[Studying HTTP] HTTP Method
ã¡ã½ããã¯ã(ã¨ã©ã¼ãæéåãçºè¡ã¨ã¯å¥ã«) åä¸ã®ãªã¯ã¨ã¹ãã® N > 0 ã®å¯ä½ç¨ãåä¸ã®ãªã¯ã¨ã¹ãã«ããããã®ã¨åãã§ãããããªéã«ã¯ "åªç{idempotence}" ã®æ§è³ªãæã¤äºãã§ããã GET, HEAD, PUT, DELETE åã¡ã½ããã¯ãã®æ§è³ªãå ±æããã ã¾ããOPTIONS 㨠TRACE åã¡ã½ããã¯å¯ä½ç¨ãæã¤ã¹ãã§ã¯ãªãããæ¬æ¥åªçã§ãããã®ã§ããã
ããããªããã[...]
åæã¸ã
9.1.2 Idempotent Methods
Methods can also have the property of "idempotence" in that (aside from error or expiration issues) the side-effects of N > 0 identical requests is the same as for a single request. The methods GET, HEAD, PUT and DELETE share this property. Also, the methods OPTIONS and TRACE SHOULD NOT have side effects, and so are inherently idempotent.
However, [...]
http://www.ietf.org/rfc/rfc2616.txt
PUT, DELETE ã¯è¤æ°åçºè¡ãã¦ãããµã¼ãå´ã®(ãªã½ã¼ã¹ã®ãã¨è¨ã£ãã»ããè¯ã?)ç¶æ ãå¤ãã¦ã¯ãããªããããã¨ãç ´å£ç(safe http://www.studyinghttp.net/method#Safe_Methods ã§ã¯ãªã)ã§ãç¾çãããªããã ã£ãããPOST ããæ®ããªãã¨ãããã¨ã§ã