Webæ¨æºã®HTTPã¯ã©ã¤ã¢ã³ãfetch()ã§ã¹ããªã¼ãã³ã°ããªããã¢ãããã¼ãã§ããããã«ãªãã
Webæ¨æºã®HTTPã¯ã©ã¤ã¢ã³ãfetch()ã§ã¹ããªã¼ãã³ã°ããªããã¢ãããã¼ãã§ããããã«ãªãã
HTTPã¹ãã¼ã¿ã¹ã³ã¼ããè¿ãã¨ããã®ã¯ã¨ã¦ãåç´ãªãã¨ã§ãããã¼ã¸ãã¬ã³ããªã³ã°ã§ããï¼ããããããªã 200 ãè¿ãã¾ãããããã¼ã¸ãåå¨ããªãï¼ãããªã 404 ã§ããä»ã®ãã¼ã¸ã«ã¦ã¼ã¶ããªãã¤ã¬ã¯ããããï¼ 302 ãããã㯠301 ããããã¾ããã I like to imagine that HTTP status codes are like CB 10 codes. "Breaker breaker, this is White Chocolate Thunder. We've got a 200 OK here." â Aaron Patterson (@tenderlove) 2015, 10æ 7 訳ï¼HTTPã®ã¹ãã¼ã¿ã¹ã³ã¼ãã®ãã¨ã¯ãå¸æ°ã©ã¸ãªã®10ã³ã¼ãã¿ãããªãã®ã ã¨èããã®ã好ãã§ããããã¬ã¼ã«ã¼ããã¬ã¼ã«ã¼ããã¡ããã¯ã¤ãã»ãã§ã³ã¬ã¼ãã»ãµã³ãã¼ã200
Webãµã¼ãã¼ãã¬ã¹ãã³ã¹ãçºè¡ããéã«ãHTTPã¬ã¹ãã³ã¹ãããã¼ã«ä»ããã¨ã»ãã¥ãªãã£ã¬ãã«ã®åä¸ã«ã¤ãªãããããã¼ãã£ã¼ã«ããç´¹ä»ãã¾ãã å²ã¿å ã¯æ¨å¥¨ããè¨å®ã®ä¸ä¾ã§ãããã©ã¦ã¶ã«ãã£ã¦ã¯å¯¾å¿ãã¦ããªããããã¼ãã£ã¼ã«ãããªãã·ã§ã³ãªã©ãããã¾ãã®ã§ãã¯ã©ã¤ã¢ã³ãã®ç°å¢ã«ãã£ã¦ã¯æ©è½ããªããã¨ãããã¾ãã X-Frame-Options ãã©ã¦ã¶ã frame ã¾ã㯠iframe ã§æå®ãããã¬ã¼ã å ã«ãã¼ã¸ã表示ãããã¨ãå¶å¾¡ããããã®ãããã¼ãã£ã¼ã«ãã§ãã主ã«ã¯ãªãã¯ã¸ã£ããã³ã°ã¨ããæ»æãé²ãããã«ç¨ãããã¾ãã X-Frame-Options: SAMEORIGIN DENY ãã¬ã¼ã å ã«ãã¼ã¸ã表示ãããã¨ãç¦æ¢ï¼åããµã¤ãå ã§ãã£ã¦ãç¦æ¢ã§ãï¼ SAMEORIGIN èªåèªèº«ã¨çæå ãåããã¬ã¼ã ã®å ´åã«ãã¼ã¸ã表示ãããã¨ã許å¯ï¼ä»ã®ãµã¤ãã«ç¦æ¢ãããå ´åã¯ä¸»ã«ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}