drbrain / net-http-persistent

Thread-safe persistent connections with Net::HTTP
http://seattlerb.rubyforge.org/net-http-persistent
339 stars 117 forks source link

Update documentation to use `uri.request_uri` instead of `uri.path` #35

Closed indirect closed 11 years ago

indirect commented 11 years ago

It turns out that if you create, for example, a Net::HTTP::GET request by passing it uri.path, you won't have any of the query parameters on the request. URI provides #request_uri instead, which is simply path plus query, which is exactly what is wanted, I think.