Re: FormÀÇ methodÀÇ PUT°ú DELETEÀÇ Áö¿ø¿¡ ´ëÇؼ­

HTTPÀÇ ³× °¡Áö method´Â ÀϹÝÀûÀ¸·Î ¸¹ÀÌ »ç¿ëÇÏ°í ÀÖÁö¿ä. ƯÈ÷ Atom ÇÁ·ÎÅäÄÝ°ú
±¸±Û Gdata API¿¡¼­µµ »ç¿ëµË´Ï´Ù.

http://www.ietf.org/rfc/rfc5023.txt
http://code.google.com/apis/gdata/docs/2.0/basics.html

ÇÏÁö¸¸, À¥ ºê¶ó¿ìÀú¿¡¼­´Â ±ÔÁ¤ÀÌ µé¾î ÀÖ±â´Â ÇÏÁö¸¸ ½ÇÁ¦·Î ±¸ÇöÇÑ À¥ ºê¶ó¿ìÀú´Â
¾ø´Â »óÅÂÀÔ´Ï´Ù. HTML5ÀÇ ¸ñÀû Áß Çϳª°¡ ¾µ¸ð ¾ø´Â Ç¥ÁØ¿¡ ´ëÇؼ­´Â È¥¶õÀ» ¾ø¾Ö±â
À§ÇØ »èÁ¦ÇÏ°í ±âÁ¸ÀÇ ¿ë¹ýÀ» Á¤È®ÇÏ°Ô Á¦½ÃÇÏ´Â °ÍÀÔ´Ï´Ù.

¿ø·¡ ¼­¹öÀÇ ¸®¼Ò½º¸¦ º¯°æÇÏ´Â °ÍÀº ÀÌ¹Ì XMLHttprequest¿¡¼­ °¡´ÉÇÒ »Ó¸¸ ¾Æ´Ï¶ó
¼³»ç put, delete¸¦ ¾²´õ¶óµµ getÀÌ»óÀÇ Àǹ̰¡ ¾ø¾î¼­ ÇÏÀ§ ȣȯ¼ºÀÌ À¯ÁöµÇ¹Ç·Î ±»ÀÌ
»©´õ¶óµµ ¹®Á¦°¡ µÇÁö ¾Ê½À´Ï´Ù.

HTML5 SpecÀÇ Form submissionÀÇ 15¹ø°¿¡ Get°ú Post¸¦ »ç¿ëÇÏ´Â ¿ë¹ýÀ» Á¤È®ÇÏ°Ô
ÇÑÁ¤ÇÏ°í ÀÖ½À´Ï´Ù. ¿©±â¼­ GET°ú POST´Â IETFÀÇ httpÇÑÁ¤ method¿Í´Â ´Ù¸¨´Ï´Ù.
http://www.w3.org/TR/html5/association-of-controls-and-forms.html#form-submission-0

GET<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#attr-fs-method-get>
POST<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#attr-fs-method-post>
http Mutate action<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-mutate-action>
Submit
as entity body<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-body>
https Mutate action<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-mutate-action>
Submit
as entity body<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-body>
ftp Get action<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-get-action>
Get
action<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-get-action>
javascript Get action<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-get-action>
Get
action<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-get-action>
data Get action<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-get-action>
Post
to data:<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-data-post>
mailto Mail with
headers<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-mailto-headers>
Mail
as body<http://www.w3.org/TR/html5/association-of-controls-and-forms.html#submit-mailto-body>
ÀÌ¿Í °ü·ÃµÈ Åä·ÐÀº HTML5 Bug Tracker¸¦ Âü°íÇϼ¼¿ä.
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10671

Channy
---------------------
http://www.linkedin.com/in/channy

* Biomedical Knowledge Engineering Laboratory http://bike.snu.ac.kr
* Daum Developers Network & Affiliates http://dna.daum.net



2010/11/16 Outsider .. <outsideris@gmail.com>

> ¿À´Ã ÀڷḦ ã¾Æº¸´Ù º¸´Ï
>
> HTML5¿Í HTML4ÀÇ Â÷ÀÌÁ¡¿¡ ´ëÇÑ ¹®¼­¿¡
> http://www.w3.org/TR/2010/WD-html5-diff-20101019/
>
> Using PUT and DELETE as HTTP methods for the form element is no longer
> supported.
>
> À§¿Í °°Àº ºÎºÐÀÌ ÀÖ´õ±º¿ä.
> Á¦°¡ ¾Ë±â·Î´Â HTML4¿Í XHTML1.0¿¡¼­´Â GET|POST¸¸ Áö¿øÇÏ°í PUT°ú DELETE´Â Áö¿øÇÏÁö
> ¾ÊÀº°ÍÀ¸·Î ¾Ë°í Àִµ¥¿ä.¿©±â´Â ´õÀÌ»ó PUT°ú DELETE¸¦ Áö¿øÇÏÁö ¾Ê´Â´Ù°í µÇ¾î Àֳ׿ä.
>
> ¿ø·¡ ¾ÈµÇ´ø°É ´õÀÌ»ó Áö¿ø¾ÈÇÏ°Ú´Ù°í ¾ð±ÞÇѰ͵µ ¾à°£ ÀÌ»óÇϱä ÇÏÁö¸¸.
> RESTfulÀ» ÇÏ·Á¸é form¿¡ PUT°ú DELETE°¡ ±¸¼ºµÇ¾î¾ß ÇÏ°í ±×·¸Áö ¾ÊÀ» °æ¿ì
> °á±¹ XHR·Î¸¸ »ç¿ëÇÒ ¼ö ¹Û¿¡ ¾ø´Âµ¥ PUT°ú DELETE°¡ ¿Ö »èÁ¦ µÈ °ÍÀϱî¿ä?
> Ȥ½Ã È÷½ºÅ丮¸¦ ¾Æ½Ã´Â ºÐÀÌ °è½Å°¡¿ä?
>
> Àú´Â HTML5¿¡¼­´Â Áö¿øµÇ±â¸¦ ±â´ëÇÏ°í ÀÖ¾ú´Âµ¥¿ä....
> (HTML4³ª XHTML 1.0Àº DTDÂü°íÇؼ­ Áö¿ø¿©ºÎ¸¦ È®ÀÎÇÏ°í´Â Çߴµ¥¿ä DTD¸¦ Ç¥½ÃÇÏÁö ¾Ê´Â HTML5´Â
> ¾îµð¼­ ¾î¶»°Ô Á¤ÀǵǾî ÀÖ³ª¸¦ ºÁ¾ßÇϳª¿ä? ½ºÆå¹®¼­»ÓÀΰ¡¿ä? ¤Ñ¤Ñ;; Áú¹®ÀÌ ¿©·¯°¡Áö°¡ ¼¯À̴±º¿ä ¤¾)
>
>
>
>
> ps. http://www.zdnet.co.kr/Contents/2010/11/12/zdnet20101112134300.htm
> KIG ű¿ÀÇÁ¶§ ºñµð¿ÀÄÚµ¦À» È®Á¤ÇÏÁö ¾Ê°Ú´Ù°í Çߴٴµ¥ ÀÌ°Å °áÁ¤µÈ°Ç°¡¿ä?
> (Àü Âü°¡Çߴµ¥µµ ¿µ¾î°¡ ª¾Æ¼­ ¸ô¶ú³×¿ä ¤Ð¤Ð Àú´Â ÇöÀç ¹«·áÄÚµ¦À» ã°í ÀÖ´Ù´Â Áٷθ¸ ¾Ë¾Ò´Âµ¥¿ä. ¤Ð¤Ð)
>
>
> /************************************************
> Outsider
> Front-end & Server-side Developer
>
> Blog : http://blog.outsider.ne.kr
> Twitter : @outsider <http://twitter.com/outsider__>
> G-Talk : outsideris@ <outsideris@naver.com>gmail.com
> *************************************************/
>
>

Received on Wednesday, 17 November 2010 06:42:29 UTC