Upgrade to Pro — share decks privately, control downloads, hide ads and more …

HTTPをしゃべろう~Firefoxになるために~

tera
October 01, 2016

 HTTPをしゃべろう~Firefoxになるために~

平成28年10月1日(土): CookHack #1 〜火狐(フォクすけ)とパイを焼きまくれ!〜 にて話しました

tera

October 01, 2016
Tweet

More Decks by tera

Other Decks in Technology

Transcript

  1. request-line • method • サーバーに要求する動作の指定 ex) GET, POST • request-target

    • 要求するコンテンツの場所 ex) /, /img/hoge.png • HTTP-version • 使用するプロトコルのバージョン ex) 1.1
  2. 応答例 HTTP/1.1 200 OK // status-line Date: Tue, 20 Sep

    2016 14:25:52 GMT // header-field Content-Type: text/html ...
  3. status-line • HTTP-version • HTTPのバージョン ex) HTTP/1.1とか • status-code •

    サーバーの応答結果 ex) 200とか404とか • reason-phrase • status-codeに対応した単語とか ex)OKとかNOT FOUNDとか
  4. 応答が来る HTTP/1.1 200 OK // status-line Date: Tue, 20 Sep

    2016 14:25:52 GMT // header-field Content-Type: text/html ...