Skip to content

Instantly share code, notes, and snippets.

@mmmurf
Created July 23, 2008 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmmurf/1470 to your computer and use it in GitHub Desktop.
Save mmmurf/1470 to your computer and use it in GitHub Desktop.
em httpclient
POST /messages/create HTTP/1.1
Content-length: 125
Host: localhost:3333
Authorization: Basic cGVuZ3VpbjpwbTMwMDI=
User-agent: Ruby EventMachine
Content-type: application/x-www-form-urlencoded
firefox
POST /messages/create HTTP/1.1
Content-Length: 42
Accept-Encoding: gzip,deflate
Cookie: 556f3183750d42d3587d803513be3f6e6ce8d6e7=zN51u26uRQmQM%2FOKVnx059pkPJjD3Zn6QFBf79zZ%2BxA4Zr4LPBfY%2Fhi0f085%0Aw4bwWJlfd0kViyHwvhGz3T%2F7QUmtzeEnqUSbX6Gr%2BmKwFPzNR3PRIt%2B9b6QW%0Ayl0eiDjNb8BOp9qLTSL9YKFJJ7IvCw%3D%3D%0A; 6d93ea55=fIixoSbYKzlZZHj4jpPOG0YslnIujrac%2BG26PSS0MRuNqasfIwi22CMNW5TD%0AIDZlBVrYgbKDYsk9Vc9Bn5oucTZNJg6gDI5QqyR8GBYfMNtokQuY0uLEVOcv%0ARhudG2HZ%0A
Referer: http://localhost:4567/messages/new
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Host: localhost:3333
Connection: keep-alive
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0
Content-Type: application/x-www-form-urlencoded
Keep-Alive: 300
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment