_ [Ruby][Eventmachine] 今更だけど、em-http-requestの使い方をまとめておく Eventmachineを使うと、その中で発生するIOをEventmachineに対応させた書き方をしてあげないと、折角のnon-blockingを台無しにしてしまう。HTTPによる通信も例外ではない。 そういっ... 続きを読む
Dismiss Octotip: You've activated the file finder by pressing t Start typing to filter the file list. Use ↑ and ↓ to navigate, enter to view files. 続きを読む
Wouldn't it be nice if you could validate the format and the existence of a URI/URL provided by the users in your Rails application? Well, I thought so. So after a little research I put together a validates_uri_existence_of.rb which does exac... 続きを読む
HTTP Git Read-Only This URL has Read+Write access 続きを読む
abはapacheの標準ツールということで簡単に使えて良いのだが、いろいろと限界を感じてきたので他のベンチマークツールを探してみた。 シンプルに使いたい コマンドラインがいい 複数クライアントを制御してDOS攻撃できたらいいなぁ ということでautobenchという... 続きを読む
This is a super simple service for generating different HTTP codes. It's useful for testing how your own scripts deal with varying responses. Just add the status code you want to the URL, like this: httpstat.us/200 We'll return a response lik... 続きを読む
Norwegian Rubyist August Lilleaas has been busy putting together a ton of examples of using the Net::HTTP Ruby library that comes with most Ruby distributions. I asked him if it'd be okay to put some of them directly on Ruby Inside for refere... 続きを読む
part of Hypertext Transfer Protocol -- HTTP/1.1 RFC 2616 Fielding, et al. 10 Status Code Definitions Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the respons... 続きを読む
クラウド型のサービスを推進するGoogleは、Webを高速化する様々な試みに取り組んでいる。米国時間の11日、ソフトウエアエンジニアのMike Belshe氏とRoberto Peon氏が「SPDY」(読みはspeedy)という、アプリケーション層プロトコルのリサーチプロジェクトを明らか... 続きを読む
Introducing Fiddler What is Fiddler? Fiddler is a Web Debugging Proxy which logs all HTTP(S) traffic between your computer and the Internet. Fiddler allows you to inspect all HTTP(S) traffic, set breakpoints, and "fiddle" with incoming or out... 続きを読む