A simple HTTP Request & Response Service. Run locally: $ docker run -p 80:80 kennethreitz/httpbin
Ruby ä¸ã§ http ãå©ããéä¿¡è¦ããæã«ãæ¯ååãäºããã£ã¦ãã®ã§æ½è±¡åã㦠http-dump ã¨ããã©ã¤ãã©ãªãä½ã£ãã https://github.com/hotchpotch/http-dump $ gem install http-dump require 'net/http' require 'uri' require 'http-dump' HTTPDump.dump { Net::HTTP.get(URI('http://example.com')) } 㨠http ã§ããã¨ããã¦ãã³ã¼ãã block ã§å²ãã¨ã以ä¸ã®ããã«åºåãããã > GET http://example.com/ with headers {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=
Webãµã¼ãã¼ãã¬ã¹ãã³ã¹ãçºè¡ããéã«ãHTTPã¬ã¹ãã³ã¹ãããã¼ã«ä»ããã¨ã»ãã¥ãªãã£ã¬ãã«ã®åä¸ã«ã¤ãªãããããã¼ãã£ã¼ã«ããç´¹ä»ãã¾ãã å²ã¿å ã¯æ¨å¥¨ããè¨å®ã®ä¸ä¾ã§ãããã©ã¦ã¶ã«ãã£ã¦ã¯å¯¾å¿ãã¦ããªããããã¼ãã£ã¼ã«ãããªãã·ã§ã³ãªã©ãããã¾ãã®ã§ãã¯ã©ã¤ã¢ã³ãã®ç°å¢ã«ãã£ã¦ã¯æ©è½ããªããã¨ãããã¾ãã X-Frame-Options ãã©ã¦ã¶ã frame ã¾ã㯠iframe ã§æå®ãããã¬ã¼ã å ã«ãã¼ã¸ã表示ãããã¨ãå¶å¾¡ããããã®ãããã¼ãã£ã¼ã«ãã§ãã主ã«ã¯ãªãã¯ã¸ã£ããã³ã°ã¨ããæ»æãé²ãããã«ç¨ãããã¾ãã X-Frame-Options: SAMEORIGIN DENY ãã¬ã¼ã å ã«ãã¼ã¸ã表示ãããã¨ãç¦æ¢ï¼åããµã¤ãå ã§ãã£ã¦ãç¦æ¢ã§ãï¼ SAMEORIGIN èªåèªèº«ã¨çæå ãåããã¬ã¼ã ã®å ´åã«ãã¼ã¸ã表示ãããã¨ã許å¯ï¼ä»ã®ãµã¤ãã«ç¦æ¢ãããå ´åã¯ä¸»ã«ã
æè¿ã®ã¢ãã³ãªWebãã©ã¦ã¶ããµãã¼ããã¦ãããã»ãã¥ãªãã£ã«é¢é£ããã㪠X- ãªHTTPã¬ã¹ãã³ã¹ããããã¾ã¨ãã¦ã¿ã¾ããããã以å¤ã«ããã£ããæãã¦ãã ããã X-XSS-Protection 0:XSSãã£ã«ã¿ãç¡å¹ã«ããã 1:XSSãã£ã«ã¿ãæå¹ã«ããã XSSãã£ã«ã¿ãæå¹ã«ãããã¨ã§ã¨ã³ãã¦ã¼ã¶ãXSSã®è¢«å®³ã«ããå¯è½æ§ãä½æ¸ããããã¾ãã«èª¤æ¤ç¥ãããã¨ã§ç»é¢ã®è¡¨ç¤ºãä¹±ãããã¨ããããIE8+ãSafariãChrome(å¤å) ã§æå¹ãIEã§ã¯ãX-XSS-Protection: 1; mode=blockãã¨ããæå®ãå¯è½ã 2008/7/2 - IE8 Security Part IV: The XSS FilterBug 27312 â [XSSAuditor] Add support for header X-XSS-Protection X-Content-Ty
ãKyoto Tycoonã®è¨è¨ ãã®åãæ¹ãã50è¡ã§Webãµã¼ããæ¸ãæ¹æ³ã解説ãããååå®è£ ãããå¤éI/Oãã«ãã¹ã¬ããæ±ç¨TCPãµã¼ããã®ä¸ã«HTTPã®å¦çãè¡ã層ãã¤ãã¦ããå¤éI/Oãã«ãã¹ã¬ããæ±ç¨HTTPãµã¼ãããå¸ãã¯ã©ã¹ãå®è£ ãã¦ã¿ãã®ã§ãããã使ã£ã¦ã¡ãã¡ããã¨ããã URLã¯ã©ã¹ HTTPã¨è¨ãã°URLã使ããªãã¨æå³ããªããURLã¯åãªãæååã¨ãã¦æ±ã£ã¦ãããã®ã ããæ§ã ãªã·ã¼ã³ã§å解ãå å·¥ãå¿ è¦ã«ãªãããã®å¦çã¯ãªã«ãã«è¤éã§é¢åãªã®ã§ãäºãã¯ã©ã¹ã¨ãã¦å°åºãã¦ãããæ¹ãããã ããã class URL { public: // æååã®URLã解æãã¦å é¨æ§é ãä½ã void set_expression(const std::string& expr); // ã¹ãã¼ã è¦ç´ ãè¨å®ãã void set_scheme(const std::string&
ã¡ãã£ã¨æ¸ãã¦ã¿ãããªã£ãã®ã§æ¸ãããå®ç¨æ§ã¨ãæ°ã«ãã¡ããããªãã $ node reverse_proxy.js d.hatena.ne.jp reverse proxy to d.hatena.ne.jp http://localhost:8000ãã㧠localhost:8000 â d.hatena.ne.jp ã® reverse proxy ã«ãªãã¾ãã ãã£ã¦ããã¨ã¯åç´ã§ã http server ãèµ·å client ããæ¥ã request ã® Host ãå·®ãæ¿ã㦠upstream ã«æãã upstream ããåãåã£ã response ã client ã«è¿ã ã ãã§ããä¾ã«ãã£ã¦ã¤ãã³ãé§åãªã®ã§ãhttp body ãæ±ãã«ã¯ addListener ããå½¢ã§ããã æ¬æ¥ã¯ body ã®ä¸èº« (HTMLå ã® URL ã¨ã) ãæ¸ãæãããããªãã®ã欲ã
æè¿ã®æç¨ã¯ Firefox ãæ®æ®µä½¿ã£ã¦ããæã¯ã HttpFox ã使ã£ã¦ãã¾ãã æ㯠Live HTTP Headers :: Add-ons for Firefox ã使ã£ã¦ããã®ã§ãããããã¦è¦ãããã¨ããããã§ã¯ç¡ãã£ãã®ã¨ãå®éã«ããã£ã®ä¸èº«ãè¦ããã¨ããæã«ãã¯ã¼ä¸è¶³ãå¦ãã¾ããã ããã§ã HttpFox ã§ãã HttpFox :: Add-ons for Firefox ã¬ã¹ãã³ã¹ã³ã¼ããè²åããã¦ããããããã®ã§ãå人çã«ã¯è¦ãããã¨æãã ãã¶ããFirebug ã®æ¥ç¶ã¿ãã§ãåçã®ãã¨ãã§ããã¨æãã®ã ãã©ãã¦ã£ã³ãã¦é åã®ä½¿ãæ¹ã¨ããè²åãã®é¨åã¨ã㧠HttpFox ã®æ¹ã好ãã ãããªæãã§é²è¦§ã§ãã¾ãã ãªã¯ã¨ã¹ããã©ã¡ã¼ã¿çãè¦ãããæ´å½¢ãã¦ãããã®ã§å©ããã¾ãã æ¬é¡ æ¬é¡ã¯ HttpFox ã§ã¯ãªããFiddler ã«ã¤ãã¦ã§ãã Fiddler
ã¨ããã¤ã¤ãã²ã¨ã¤ã ãç解ã§ããªãã¨ããããç´å¾ã§ããªãã¨ãããããã©ã³ã¶ã¯ã·ã§ã³ã®ã¨ããããªãã ãRESTã£ã½ããªãã®ããããæ°ã«ãªã Webãæ¯ããæè¡ -HTTPãURIãHTMLãããã¦REST (WEB+DB PRESSãã©ã¹ã·ãªã¼ãº)(å±±æ¬ é½å¹³) - ãã ã®ã«ã£ã(2010-04-23) ãWeb ãæ¯ããæè¡ãã¯èªåãã¨ã¦ãããæ¬ã ã¨æã (æç§æ¸ã¨ãã¦ãã°ãããã復ç¿ç¨ã¨ãã¦ãèªã¿ãããã®ã§ã¤ã¤) ã®ã§ããããã©ã³ã¶ã¯ã·ã§ã³ã®æã ãã¯åããã¥ãããªã¨æãã¾ããããã®åå ã¯ãatomic transaction ã§è§£æ±ºã§ãã課é¡ãä¾ã¨ãã¦ä½¿ã£ã¦ããã¨ããç¹ã¨ããã©ã³ã¶ã¯ã·ã§ã³ã¨æ´æ°ã¯ã¨ãªã®ã¬ã¤ã¤åå²ãããã¦ããªããã¨ããï¼ã¤ã®ç¹ã«ãããã®ã§ã¯ãªãã§ããããã HTTP ä¸ã§ãã©ã³ã¶ã¯ã·ã§ã³ã表ç¾ããå¿ è¦ãããã±ã¼ã¹ã®ã»ã¨ãã©ã¯ãatomic transaction ã§ã¯ãªã
HTTP ã®æç¶çæ¥ç¶ã®å罪ã«ã¤ã㦠ã¯ããã«ãHTTP ã®æç¶çæ¥ç¶ (keep-alive) ã®ã¡ãªããã«ã¤ãã¦ãæç¶çæ¥ç¶ã使ãã¡ãªããã¯ã以ä¸ã®ï¼ç¹ã TCP æ¥ç¶ã®ç¢ºç«ã«ãããæéã®ç¯ç´*1 TCP ã®æ¥ç¶ã¨åæã«å¿ è¦ãªè³æº (CPUã¨ãããã¯ã¼ã¯) ã®ç¯ç´ ã¦ã§ããã©ã¦ã¶ããã¼ã¿ã»ã³ã¿éã®éä¿¡ã§ãæç¶çæ¥ç¶ã使ãçç±ã¯ããã®ãã¡ã®åè ãç¹ã«å¤ªå¹³æ´ãè¶ ãããããªã±ã¼ã¹ã ã¨ãTCP æ¥ç¶ã«0.2ç§ã¨ããããã®ã§ãã¡ãªããã大ããã ä¸æ¹ãæç¶çæ¥ç¶ã®ãã¡ãªããã¯ã æ¥ç¶ãåæãããã¾ã§ã®éããã®æ¥ç¶ãç¶æããããã«ã³ã¹ããããã (主ã¨ãã¦ã¡ã¢ãªãç¡é§ã«ãªã) ã¨ããç¹ã«ãªããç¹ã«ãï¼ããã»ã¹ï¼ã³ãã¯ã·ã§ã³ãåæã¨ããã¢ã¼ããã¯ã㣠(ä¾: mod_perl) ã ã¨ãã¡ã¢ãªã®ç¡é§ä½¿ãããã¨ã¦ãã²ã©ããã¨ã«ãªãã ããã§ããã©ã¦ã¶ããã®æ¥ç¶ãåãã HTTP ãµã¼ãã¨ã¢ããªã±ã¼ã·ã§ã³
URLï¼Uniform Resource Locatorï¼ã¨URIï¼Uniform Resource Identifierï¼ã®æ§é ã®éãã¯ãåç¥ã§ããï¼ Webãã¼ã¸ã®ã¢ãã¬ã¹ãæãå ´åã¯ã©ã¡ãã使ãã¹ããªã®ã§ããããURLãå解ãã¦ãhttps:ï¼ã¹ãã¼ã ï¼ãã#ï¼ãã©ã°ã¡ã³ãï¼ãã?ï¼ã¯ã¨ãªï¼ãããã¹ï¼pathï¼ããªã©ã®å称ã»æå³ã«ã¤ãã¦ã解説ãã¾ãã ä»æ¥ã¯ããã¦ãã¦ã¨ããããã¯ãè±ç¥èãããURLãã¨ããå¼ã³æ¹ã¨ãURIãã¨ããå¼ã³æ¹ãããã¾ãããã©ãéãã®ããããªãã¯ãåãã§ããï¼ Webãã¼ã¸ã®ã¢ãã¬ã¹ãæãå ´åã¯ãã©ã¡ãã使ãã¹ããªã®ã§ããããã URLã¨URIã¯ä½ãéãã®ãçµè«ããè¨ãã¨ãURIã¨URLã¯åããã®ã§ã¯ããã¾ããããURIãã®ã»ããåºãæ¦å¿µã§ããURLãã¯URIã®é¨åéåã§ããåæ§ã®ä»çµã¿ã«ãURNãã¨ãããã®ãããã¾ãã ãã®3ã¤ãå¥ã®ãã®ã«ãã¨ãã¦ãããã
FXåå¼æã®ç §ä¼ã¨ãã¯ãã«ã«ãçµæ¸ææ¨ã®è¦æ¹çã解説ãã¦ããã¾ãã
AirHttpdã¯Adobe AIR製ã®ãªã¼ãã³ã½ã¼ã¹ã»ã½ããã¦ã§ã¢ãAdobe AIRã¯åãã³ã¼ãã§Windows/Mac OSX/Linuxã¨åä½ããããã¨ãã§ããããã«ãªãããªã¤ã³ã¿ãã§ã¼ã¹ãæä¾ã§ãããã©ãããã©ã¼ã ã ãç¾å¨2.0ãéçºä¸ã§ãæ°ããæ©è½ãããã«å¢ããäºå®ã ã Adobe AIRã§HTTP ãã®ä¸ã¤ã®æ©è½ã使ã£ã¦å®ç¾ããã®ãAirHttpdã ãååã®éãAdobe AIRã使ã£ãHTTPãµã¼ãã¨ãªã£ã¦ããããªãAdobe AIRã§ãµã¼ãã¹ãªã®ããã¨ããæ°ãããã ãããä»»æã®ãµã¼ãã¹ãç«ã¡ä¸ããããããã«ãªã£ãããAdobe AIRã¨ãã¦ã®å¯è½æ§ãããã«åºããã®ã¯ééããªãã ããã å©ç¨ã¯ãã¼ãçªå·ã¨å ¬éãããã£ã¬ã¯ããªãæå®ããListenãã¿ã³ãæ¼ãã ãã ãçµäºæã«ã¯Shutdownãã¿ã³ãæ¼ãã°è¯ããç»é¢ã®ä¸ã«ã¯ã¢ã¯ã»ã¹ãã°ã表示ãããããã«ãªã£ã¦ããããã£ã¬ã¯ã
ä»æ¥ã¯ç§ãããããã天æ°ã ã£ãã®ã§ãããã¨ã¯ç¹ã«é¢ä¿ãªãä»æ¥ãä»æ¥ã¨ã¦ã¼ã¼ã£ã¨ãã£ã¹ãã¬ã¤ã«åãã£ã¦ããã¨ããããããªè¨äºãè¦ä»ããã åæ°ãåºãã¦åç½ï¼ ãã®è¿äºã§è¦ããHTTPã¹ãã¼ã¿ã¹ã»ã³ã¼ã ããããã¾ãã¾ãããªãã ã俺ããã®è¨è ã®æ¹ã«ã·ã³ãã·ã¼ãè¦ãããã ãã®æã®ãã¿ã¯å¤§å¥½ç©ãªã®ã ãã©ã404ã¯ãæãã®è¿äºã¡ãããããã¦ãæãæ¹ã ãã§ãä½ãã¿ã¼ã³ãããããã§ãã¨ãããããã¦ããã®ã§ä¾¿ä¹ãã¦èãã¦ã¿ããã¨ã«ãããä¾ã«ãã£ã¦400ç³»ã¬ã¹ãã³ã¹ã«åã£ã¦ãã®ã¯ãç´æãããããªãããã¼ãåç½ã®ã¬ã¹ãã³ã¹ãªãã¦åãã¨ãæ¹ã§ãè¿ãæ¹ã§ã400ç³»ããç¥ããªãããããããåã ã503ï¼ããåæ¬å½ã«ã¿ã¤ãã³ã°æªããªãï¼è¿ãããã¨ãããåãªã¯ã¨ã¹ãã¯ããã¾ããã§ããã200ï¼ããããããªã¹ãã¼ã¿ã¹ã³ã¼ããããã¾ããããããããã®ããªã使ã£ã¦ã¿ããã§ãã ï¼äºæ³å¤ã«åé¿ããã£ãã®ã§è¿½è¨ï¼è¦ã¦ã®éãå ¨é¨
PHPã«ã³ãã¡ã¬ã³ã¹ã«æ¥ã¦ãã¾ãã Automattic,Inc.ã®ãã¯ã©ã±ã³ç´åããã®çºè¡¨ãèãã¤ã¤ãããããã°WordPress.comã£ã¦nginx使ã£ã¦ããªã¨æã£ã¦ãLive HTTP headersã§ã¬ã¹ãã³ã¹ããããè¦ã¦ã¿ã¾ããã è¿ã£ã¦ããã®ã以ä¸ã HTTP/1.x 200 OK Server: nginx Date: Fri, 04 Sep 2009 04:41:08 GMT Content-Type: text/html; charset=UTF-8 Transfer-Encoding: chunked Connection: close Last-Modified: Fri, 04 Sep 2009 04:40:40 +0000 Cache-Control: max-age=2, must-revalidate Vary: Cookie, Accept-Encodin
æ¸ããã¨ãã£ã¦ãçµæ§åãããã£ãã®ã§ããããããæãåãè½ã¨ãã¦è»½éWebãµã¼ãã¨ãã¦ä»ç«ã¦ä¸ãã¾ããã 軽éã¨ã¯è¨ãã©ãCGIã使ã£ã¦çµæ§è²ã åãã¾ãã ä¾ãã°ãã½ã¼ã¹ã¢ã¼ã«ã¤ãã解åãããCGIããã£ã¦ãapacheããè¦ããå ´æã«ã³ãã¼ãã¦...ã¨ãé¢åãããã£ãããã¾ãããã ããã¯ä»ããWebãµã¼ããèµ·åããããã ï¼ããã¦ä»ãããã£ã¬ã¯ããªã®ãã¡ã¤ã«ãWebãµã¼ããããµã¼ãããããã ã¼ï¼ ã£ã¦äºãªãã§ããï¼blogã½ããã¦ã§ã¢ããã¦ã³ãã¼ããã¦ä»ãã試ããããã©ãapacheã¤ã³ã¹ãã¼ã«ããã¦ãªãã£ã...ã¨ãæ²ãããã¾ãã ä»åç´¹ä»ãã"tinytinyhttpd"(tthttpd)ã¯ãããªãå°ããæ§ã§å¤§ããªåé¡ã解決åºæ¥ããããããªãã½ããã¦ã§ã¢ã§ãã mattn's tinytinyhttpd at master - GitHub tiny tiny httpd http:
extend使ã£ã¦$.ajaxã¡ã½ããã®ã©ããã¼ãå®ç¾©ãã¦ãã£ã¦ãã®ã以ä¸ã $.extend({ "put" : function (url, data, success, error) { error = error || function() {}; return $.ajax({ "url" : url, "data" : data, "success" : success, "type" : "PUT", "cache" : false, "error" : error, "dataType" : "json" }); }, "del" : function (url, data, success, error) { error = error || function() {}; return $.ajax({ "url" : url, "data" : data, "succe
大å¤ãç¡æ²æ±°ã§ããç´1å¹´åã¶ãã®æ´æ°ã§ãã æ¨æ¥ãããã°ãè¨ç½®ãã¦ãããµã¼ãã§OSã®ã¢ãããã¼ãã«åé¡ãçºçããããããããæ©ã«æ°ãµã¼ãã»æ°OSã«ä¹ãæãããã¨ã«ãã¾ããã ç¾å¨ã®ããã°ããã«ããµã¤ãã®ããããã®ã¾ã¾ã§ã¯æ°ãµã¼ãã®æ§ç¯ã«è¦æ¦ããã¨äºæ³ããããããä»ã®ããã°ã®è¨äºãçµ±åãã¾ããã çµ±åå 容ã¯ä»¥ä¸ã®éãã§ãã ã»C-Production ã»ã»ã» ã¡ã¤ã³ãµã¤ãã®ãããä»ã®ããã°ãå¸åãã¦ç¶ç¶ã ã»âª8thNote⪠ã»ã»ã» ã¡ã¤ã³ãµã¤ãã«çµ±åæ¸ã¿ã ã£ãã®ã§ãåé¤ã ã»ã¢ãã¤ã«é ã»ã»ã» ã¡ã¤ã³ãµã¤ãã«è¨äºãå¼ãç¶ãã並è¡ç¨¼åä¸ã ã»ç¡ç·ã®ããã¥ã¡ã³ã ã»ã»ã» ãã¨ãã¨ééäºå®ã ã£ãã®ã§ããã®ã¾ã¾åé¤ å¤é¨SNSã®ã¢ã«ã¦ã³ãã«ã¤ãã¦ã¯ãã®ã¾ã¾ç¶ç¶ãã¾ãã ä»å¾ã¨ããããããé¡ããã¾ãã
Windows XP/Vista/2003/2008 Serverä¸ã®Internet Explorer 6/7/8 Beta 2ãMozilla Firefox 2.0/3.0/3.1 Beta 2ã§åä½ããããªã¼ã½ããã§ãHTTP/HTTPSã®ãªã¯ã¨ã¹ãããã表示ãHTTPã®å§ç¸®ç表示ããã¼ã¸å ã®åè¦ç´ ã®èªã¿è¾¼ã¿æéã®ãã£ã¼ãåãã¹ãã¼ã¿ã¹ã³ã¼ããã¬ã¹ãã³ã¹ãµã¤ãºã®è¡¨ç¤ºããã£ã«ã¿ãªã³ã°ãããã«ã¯ãããä¸é£ã®éä¿¡ããã°ãã¡ã¤ã«ã«è¨é²ãããã¨ãªã©ãå¯è½ã§ãã æéã¯ããªã»ã«ã³ãåä½ã§è¡¨ç¤ºãå¯è½ã¨ãªã£ã¦ãããã¾ãã«HTTPãããã¬ã¨è¨ã£ã¦ãå·®ãæ¯ããªãã¬ãã«ãªã®ã§ãããã¼ã¸ã®èªã¿è¾¼ã¿ãé ãåå ãç¥ããããã¨ããã¡ããã¨ãµã¼ãã®è¨å®ãåæ ããã¦ãããã©ããã確èªãããããã¦ã§ãã¢ããªã®åä½ãã§ãã¯ãããããã¨ããå ´åã«å½¹ç«ã¡ã¾ãããã®ç¨®é¡ã®ã½ããã«ãããã¡ãªæ¥æ¬èªã®æåã³ã¼ãã解éã§ããªãã¨ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}