Skip to content

Instantly share code, notes, and snippets.

@phlegx
Created December 10, 2012 14:30
Show Gist options
  • Save phlegx/4250868 to your computer and use it in GitHub Desktop.
Save phlegx/4250868 to your computer and use it in GitHub Desktop.
# response.inspect
=> <Net::HTTPCreated 201 Created readbody=true>
# response.to_yaml
=> --- !ruby/object:Net::HTTPCreated
http_version: '1.1'
code: '201'
message: Created
header:
server:
- Apache-Coyote/1.1
x-li-request-id:
- OEYNQLQOGP
content-length:
- '0'
vary:
- Accept-Encoding
date:
- Mon, 10 Dec 2012 14:28:41 GMT
body: ''
read: true
socket:
body_exist: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment