QUICã®æ¨æºåååãæ¥æ¬èªã§è§£èª¬ãHTTP/2åå¼·ä¼çºè¡¨è³æ(2017/08/23) https://http2study.connpass.com/event/63998/Read less
Spring Bootã«ããAPIããã¯ã¨ã³ãæ§ç¯å®è·µã¬ã¤ã 第2ç ä½å人ãã®éçºè ããInfoQã®ããããã¯ãPractical Guide to Building an API Back End with Spring BootããããSpring Bootã使ã£ãREST APIæ§ç¯ã®åºç¤ãå¦ãã ããã®æ¬ã§ã¯ãåºçæã«æ°ãããªãªã¼ã¹ããããã¼ã¸ã§ã³ã§ãã Spring Boot 2 ã使ç¨ãã¦ãããããããSpring Boot3ãæè¿ãªãªã¼ã¹ãããéè¦ãªå¤...
Intro ããã¯ã http2 Advent Calendar 2016 ã® 16 æ¥ç®ã®è¨äºã§ããã HTTP ã«æ°ããã¹ãã¼ã¿ã¹ã³ã¼ã 103 Early Hints ã追å ããããã¨ãã¦ããã HTTP/1.1 ããã³ HTTP2 åæ¹ã¨é¢ããããªã½ã¼ã¹é ä¿¡ã®æé©åã«å©ç¨ãããã¨ãã§ããã ãã£ããä½ã®ããã«å¿ è¦ãªã®ããã©ãããã¡ãªãããèãããããã解説ããã HTTP2 Push ã®å¾©ç¿ ã¾ã HTTP2 ã® Push ã«ã¤ãã¦å¾©ç¿ããã H2 Push ã¯ãç°¡åã«è¨ãã° PUSH_PROMISE ãã¬ã¼ã ãç¨ãã¦ãã¬ã¹ãã³ã¹ãããå ã«ä¾åãããªã½ã¼ã¹ãè¿ãããã®ä»æ§ã§ããã ä¾ãã° /users ã®ã¬ã¹ãã³ã¹ã¯ script.js 㨠style.css ããµããªã½ã¼ã¹ã¨ãã¦å«ãã§ããã¨ããã HTTP2 ã§ã¯ SQL ãçºè¡ã㦠Users ã®ä¸è¦§ãåå¾ãã¦ããéã«ãå è¡ã
github.com ããããå è¡å®è£ 㯠python ã§æ¸ãããããã§ãã curl ã«ã¯ã¦ã§ããµã¤ãã®å¿çæéãè¨æ¸¬ããæ©è½ãæè¼ããã¦ããããã®ãã¼ã«ã§ã¯ãããå©ç¨ãã¦åºåçµæãã°ã©ãã£ã«ã«ã«è¡¨ç¤ºããã¦ãã¾ããåãªã curl ã®ã©ããã¼ã®ãããªãã¼ã«ãªã®ã§ãããè¦ãç®ããªããã«ãªãã®ã«å ãã¦ãåä¸ãã¡ã¤ã«ã§å®è¡ã§ã python ã®ãã¼ã¸ã§ã³ã«å½±é¿ãããªããããªå·¥å¤«ãããã¦ããã®ããåãã¦ãããã¤ã³ãã®ãããªæ°ããã¾ãã ãã®ãã¼ã«ãè¦ãã¨ããGo ã§æ¸ãã¦ã¿ãã®è¯ãããï¼ï¼ãã®æã®ãã¼ã«ã§åä¸ãã¤ããªã«ãªãã®ã¯å¬ããã§ãããï¼ãã¨æããä¼æ©æéããæ¼ä¼ã¿ãªã©ã«ã¡ã¾ã¡ã¾æ¸ãã¦ããããäºæ¥åã«å ãè¶ããã¦ãã¾ãã¾ããï¼ãããããã§ãããããªãã§ãã¹ãã¼ãã大äºã ã¨çæï¼ã github.com ã¾ããã¤ããã®éã¾ã§ 800 Stars ãããã ã£ãã®ã§ããããã1é±éã§ççºçã«ä¼¸ã³ã¦
ç§ã¯Webé¢é£ã®åºç¤æè¡ã20å¹´ããããã£ã¦ãã¾ãã æè¿ã®ä»äºã¨ãã¦ã¯ãã£ã¼ã»ã¨ãã»ã¨ã¼ã§ãH2Oãã¨ããWebãµã¼ããéçºãã¦ãã¦ã2016å¹´2æã«1.7.0ããªãªã¼ã¹ãã¾ãããHTTP/2対å¿ã®Webãµã¼ãã¨ãã¦ã¯ããããä¸çæéã§æ´ç·´ãããå®è£ ã ããã¨ããè©ä¾¡ãããã ãã¦ãã¾ãã æ¬æ¥ã¯ãµã¼ãæè¡ãããããã©ãããè©ä¾¡è»¸ã§ãããããè¦ã¦ããã®ããHTTP/2ã®ç¹é·ãããã¦ãµã¼ãããã·ã¥ã¨ã¯ãªã«ããHTTPSåã¯ã©ãã ããµã¼ãè² è·ãä¸ããã®ãã«ã¤ãã¦ã®ããããã®è¦è§£ãWebãµã¼ãå ã§ã®ã¹ã¯ãªããå®è¡ãã©ãå¤ãã£ã¦ãã¦ããã®ããã¨ãã£ã話ããã¦ããã¾ãã ãµã¼ãæè¡ã®è©ä¾¡è»¸ ãµã¼ãæè¡ã®è©ä¾¡è»¸ãã©ãèãã¦ãããã§ããã大ããåãã¦4ã¤ã®é ç®ã§èãã¦ãã¾ãã ãµã¼ãè² è· è»¢éãã¼ã¿é å¿çæ§ è¨å®ã»éç¨ã³ã¹ã ã¾ãããµã¼ãè² è·ãã§ããå°è¦æ¨¡ãªWebãµã¤ãã§ã¯ãµã¼ãè² è·ã¯ããã»ã©åé¡ã«ã¯ãª
URLã¨ã³ã³ã¼ãã«ã¤ã㦠URLã«æ¥æ¬èªãå«ã¾ããå ´åããã©ã¦ã¶ã«ãã£ã¦ã¯æ¥æ¬èªé¨åãèªèã§ããã æ£ãããªã³ã¯ãããªãäºãããã¾ãã ããã¯ãã©ã¦ã¶ãåºæ¬çã«ã¯åè§è±æ°åãä¸é¨ã®åè§è¨å·ããæ±ããªãçºã§ãã æè¿ã®ãã©ã¦ã¶ã¯æ¥æ¬èªURLã«ã対å¿ãã¦ãã¦ãã¾ããã å®ã¯ãã©ã¦ã¶å´ã§åè§è±æ°åãè¨å·ã«å¤æãã¦å¦çãã¦ããã ãã§ãã æ¥æ¬èªURLã«å¯¾å¿ãã¦ããªããã©ã¦ã¶ãããã¾ãã®ã§ã URLã«æ¥æ¬èªãå«ã¾ããå ´åã«ã¯åãããåè§è±æ°åã»è¨å·ã«å¤æãã¦ããã¨è¯ãã§ãããã URLãåè§è±æ°åã»è¨å·ã«å¤æããäºããURLã¨ã³ã³ã¼ããã¨ããã¾ãã éã«æ¥æ¬èªã«æ»ãäºããURLãã³ã¼ããã¨ããã¾ãã
ãã®é ã§ã¯ãHTTPãããã¨ã¯ä½ãã«ã¤ãã¦ãã¾ãHTTP/1.1ä»æ§æ¸ãªã©ã§å®ç¾©ããã¦ããHTTPãããã®ãã¡ä»£è¡¨çãªãã®ã解説ãã¾ãã HTTPãããã¨ã¯ HTTP/1.1ããã Accept Accept-Charset Accept-Language Accept-Range Age Allow Authorization Cache-Control Connection Content-Language Content-Length Content-Location Content-MD5 Content-Range Content-Type Date Expect Expires From Host If-Modified-Since If-Range If-Unmodified-Since Last-Modified Location Max-Forwards Pragma R
2023å¹´03æ31æ¥è¿½è¨ï¼ãã®è¨äºãåºã«ã@sadnessOjisanãããããã³ã¼ãã¬ãã«ã«ããè¸ã¿è¾¼ãã ããã¤ãã°ãªã¼ã³ã¹ã¬ãããã¼ã¹ã®æ°ããWebãµã¼ãã¢ã¼ããã¯ãã£ãå«ãã¦æ´çãããè¨äº Webãµã¼ãã¼ã¢ã¼ããã¯ãã£é²åè«2023 | blog.ojisan.io ãå ¬éããã¾ããã 主ã«æ°åã®Webã¨ã³ã¸ãã¢åãã«ãå¤å ¸çãªWebãµã¼ãã¢ã¼ããã¯ãã£ãå¦ã¶éã®ãã¨ä»£è¡¨çãªå®è£ ã¢ãã«ã®æ¦è¦ãç´¹ä»ãã¾ãã ãã®è¾ºãã®è©±é¡ãWebçéã§æµè¡ã£ã¦ããã®ã¯æ°å¹´ä»¥ä¸åã¨ããã¤ã¡ã¼ã¸ã§ãããWebãµã¼ãã¹ã¯ç¸å¤ãããWebãµã¼ãã®ä¸ã§åãã¦ããã®ã§ãæµè¡ãå»ãé¢ä¿ãªãå¦ã¶ã¹ãå 容ã ã¨æã£ã¦ãã¾ãã ã¾ããHTTP/2ãããããRFCåããæ¢ã«h2oãtrusterdãªã©ã®HTTP/2ã®ãµã¼ãå®è£ ããããä»å¾Webãµã¼ãã¢ã¼ããã¯ãã£ãå訪ãããã¨ãå¢ãããããªæ°ããã¦ãã¾ãã ã¨ããããWe
Fiddler ã®åå¼·ä¼ã«è¡ã£ã¦æ¥ã¾ããã Fiddler 㯠HTTP ã®éä¿¡ãã¼ã¿ã観ãããæ¸ãæãããããäºãåºæ¥ããã¼ã«ã§ãã ã¤ãã³ããã¼ã¸ ã¯ããã¦ã® Fiddler reloaded | Peatix http://peatix.com/event/55312?utm_campaign=recommend&utm_medium=email&utm_source=55312&utm_content=7893 è³æãã¼ã¸ ã¯ããã¦ã® Fiddler http://www.hebikuzure.com/fiddler/ Fiddler Scriptã㢠http://www.slideshare.net/hagurese/fiddler-script-38509440 æ¸ç± å®è·µ Fiddler ä½è : Eric Lawrence,æ¥æ¬ãã¤ã¯ãã½ããæ ªå¼ä¼ç¤¾ã¨ãã³ã¸ã§ãªã¹ãç©æ±ä¿®,
ã¬ã¹ãã³ã·ãã¦ã§ããã¶ã¤ã³ã¾ãã¯åçé ä¿¡ã¸ã®å¤æ´ã«ã¨ããªããã¢ãã¤ã«åããµã¤ãç¨ã«å²ãå½ã¦ã¦ããå¥URLããPCåããµã¤ãã¨çµ±ä¸ããURLã«å¤æ´ããå ´åã¯302ãªãã¤ã¬ã¯ããå©ç¨ãã¾ãã 301ãªãã¤ã¬ã¯ãã§ã¯ããã¾ããã ããã¥ã¡ã³ãã©ãã302ãæ£ãã Googleã¯ãã¹ãã¼ããã©ã³åããµã¤ãã®ç§»è»¢ã®æ³¨æäºé ã解説ããããã¥ã¡ã³ããå æ¥å ¬éãã¾ããã ãã®ãªãã§ã次ã®ããã«èª¬æãã¦ãã¾ãã ãµã¼ãã¼ ãµã¤ãã® 302 HTTP ãªãã¤ã¬ã¯ãããã³ Cache-Control: private ãããã¼ã使ã£ã¦å¥åã®ã¹ãã¼ããã©ã³åã URL ããã¹ã¯ãããåã URL ã«ãªãã¤ã¬ã¯ããã¾ã â»å¼·èª¿ã¯åã«ãã ãããèªãã ã¨ããã301ãããªãã®ãï¼ ãã¨åã¯çåã«æãã¾ããã åãçåãæ±ããã®ã¯ããã£ã¨åã ãã§ã¯ãªãã¯ãã§ãã ããã§ãGoogleã®Maile Ohyeï¼ãã¤ãªã¼ã»ãª
ãªã㧠html ã® from 㯠PUT / DELETE ãã§ããªãã®ãããã»ãã¥ãªãã£ççç±ãã¨ããæ´å²ççµç·¯ãã¨ããããã£ããããªåãããªããããªèª¬æã¯ããèããã©ãå®éãªãã§ãªã®ã調ã¹ã¦ããè²ã æãã¦ããã£ã話ã ããã¾ã§ããã£ããã¨ã blog ã«ã¾ã¨ãã¾ããã / âãªã html ã® form 㯠PUT / DELETE ããµãã¼ãããªãã®ãï¼ - Block Rockinâ Codesâ http://jxck.hatenablog.com/entry/why-form-dosent-support-put-delete
åé¡ ã¢ãã¤ã«ã¯åç·ãä¸å®å®ãªã®ã§ããã¼ãã®å¤±æãé »ç¹ã«èµ·ããã¾ãã éçºæã¯é«éãªwifiç°å¢ã§éçºãã¦ããã®ã§ããªãªã¼ã¹éè¿ã«ãªã£ã¦å¸¯åãå§è¿«ãã¦ãããã¨ã«æ°ã¥ããããã¾ãã 解決æ¹æ³ ç»åãå èªã¿ãã¾ã var preload = function(src){ var d = $.Deferred(); var img = new Image; img.src= src; img.onload = d.resolve img.onerror = d.reject return d.promise(); }; ä½ããã£ã¦ãããã¨ããã¨ã空ã®imgã¿ã°ãã¤ãã£ã¦ããã«ç»åãèªã¿è¾¼ã¿ã¾ãããã®éç¨ã§ãã©ã¦ã¶ãã£ãã·ã¥ã«ç»åãä¿åããã¾ããæ£ç¢ºã«è¨ãã¨ãã®æç¹ã§ã¯ã©ãã«ãç´ä»ãã¦ããªãã®ã§GC対象ã§ããããã®å¾ããDOMã«ç»åãã¯ããªãåé¡ããã¾ããã 並åã§å èªã¿ãã(éãã»ä¸å®å®) va
æè¿ REST ã«é¢ããæ¬ãèªãã§ãã¾ããçµ±ä¸ãããå°ãªãã«ã¼ã«ã§ããã¾ãã¾ãª Web ã¢ããªã±ã¼ã·ã§ã³ã表ç¾ã§ããã¨ããã®ã¯ãå¦æ³ãè¨ããã§ã¯ã¯ã¯ã¯ãã¾ãããå¦ãã ãã¨ãã¡ã¢ãã¦ãã«æ¸ãã¾ãã RESTful Webãµã¼ãã¹ ä½è : Leonard Richardson,Sam Ruby,å±±æ¬é½å¹³,æ ªå¼ä¼ç¤¾ã¯ã¤ã¼ãåºç社/ã¡ã¼ã«ã¼: ãªã©ã¤ãªã¼ã»ã¸ã£ãã³çºå£²æ¥: 2007/12/21ã¡ãã£ã¢: åè¡æ¬è³¼å ¥: 25人 ã¯ãªãã¯: 842åãã®ååãå«ãããã° (168件) ãè¦ã PUT ã POST ãä¼¼ãå½¹å²ããã¤ã¡ã½ããã§ãã両æ¹ã¨ããªã½ã¼ã¹ã®æ°è¦ä½æã¾ãã¯æ´æ°ãè¡ãã¾ãããã®äºã¤ã®ã¡ã½ããã¯ä½ãç°ãªããã©ã®ããã«ä½¿ãåããã¹ããªã®ã§ããããã ãªã½ã¼ã¹ã®æ°è¦ä½æ ã¾ããªã½ã¼ã¹ã®æ°è¦ä½æã«ã¤ãã¦ã PUT 㯠URI ãæã示ããªã½ã¼ã¹ãç´æ¥ä½æãããã¨ãããµã¼ãã¼ã«è¦æ±ãã¾ãããã¨
1. RESTful Web ã¢ããªã® è¨è¨ã¬ãã¥ã¼ã®è©± åç° å人 (a.k.a id:t-wada or @t_wada) July 23, 2012 @ sendagaya.rb 3. èªå·±ç´¹ä» åå: åç° å人 (ãã ããã¨) ããã°: http://d.hatena.ne.jp/t-wada ã¡ã¼ã«: takuto.wada@gmail.com Twitter: http://twitter.com/t_wada ã¿ã¯ã¼ãºï½¥ã¯ã¨ã¹ãæ ªå¼ä¼ç¤¾ åç· å½¹ç¤¾é· 4. ç§ã¨ REST (input) ⢠WEB+DB PRESS vol.32ãREST ã¢ã¼ããã¯ãã£ã¹ã¿ã¤ã«å ¥éã ⢠ã¯ã¦ã¶è¨è¨è°è« ⢠DHH ã® RubyKaigi 2006 Keynote ⢠WEB+DB PRESS vol.38â¼ãREST ã¬ã·ãã ⢠ãRESTful Web Serviceã
â HTTPãªã¯ã¨ã¹ãã®å§ç¸®ããµãã¼ããã HTTPã¯ã©ã¤ã¢ã³ããã大ããªãã¼ã¿ãPOSTããã¨ãã«å§ç¸®å¯è½ãªããããã¦æ¬²ããå ´åããã£ã¦(ãã¡ãããã©ã¦ã¶ã¯ãããªãã¨ãã¦ãããªãã®ã§å°ç¨ã¯ã©ã¤ã¢ã³ãã使ãåæ)ããµã¼ãã¢ããªã¯å§ç¸®ã»æªå§ç¸®ã®ç¶æ³ã«ãããããªãæ¸ãããã®ã§ããã®é¨åã ãRackããã«ã¦ã§ã¢ã«ãã¦ã¿ããã¡ãªã¿ã«ãªã¯ã¨ã¹ãã§ã¯ãªãã¦ã¬ã¹ãã³ã¹ãªãæ®éã®è©±ãªã®ã§ä½ãèããã«Rack::Deflaterã使ãã°è¯ãã æåãRackã§ãªã¯ã¨ã¹ãã®bodyãæä½ããæ¹æ³ãããããªãã¦Twitterã§ã¤ã¶ãããã@moroãæãã¦ãããã®ã§è§£æ±ºããã¤ããã¤ãå©ããã¾ã(^^; ãããªæãã§ä½¿ãã: require 'rack/request_decompressor' use Rack::RequestDecompressor ã¯ã©ã¤ã¢ã³ãã¯Content-Encodingãããã追å
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}