-
Notifications
You must be signed in to change notification settings - Fork 961
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ class Request #:nodoc: | |
end | ||
|
||
attr_accessor :http_method, :options, :last_response, :redirect, :last_uri | ||
attr_reader :path, :raw_request | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jnunemaker
Owner
|
||
attr_reader :path | ||
|
||
def initialize(http_method, path, o={}) | ||
self.http_method = http_method | ||
|
@@ -107,6 +107,10 @@ def perform(&block) | |
handle_response(chunked_body, &block) | ||
end | ||
|
||
def raw_body | ||
@raw_request.body | ||
end | ||
|
||
private | ||
|
||
def http | ||
|
Why remove this reader? We're using this for custom logging which needs the full request that httparty generated (not just the body)