e$B@.@%$G$9!#e(B
Net::HTTP e$B$G$9$,!"e(Bpath e$B$,e(B nil e$B$N;~$Ke(B ArgumentError
e$B$rEj$2$kA0$Ke(B
nil.empty? e$B$G$3$1$^$9!#e(B
Index: lib/net/http.rb
— lib/net/http.rb (revision 12716)
+++ lib/net/http.rb (working copy)
@@ -1524,7 +1524,7 @@
@method = m
@request_has_body = reqbody
@response_has_body = resbody
-
raise ArgumentError, "HTTP request path is empty" if path.empty?
-
raise ArgumentError, "HTTP request path is empty" if
path.to_s.empty?
@path = path
initialize_http_header initheader
self[‘Accept’] ||= ‘/’