diff options
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index d632020458..a4b919e59b 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -503,7 +503,7 @@ module Net #:nodoc: def HTTP.post(url, data, header = nil) start(url.hostname, url.port, :use_ssl => url.scheme == 'https' ) {|http| - http.post(url.path, data, header) + http.post(url, data, header) } end |