danblack (Daniel Black)
- Login: danblack
- Email: daniel.black@openquery.com.au
- Registered on: 02/27/2013
- Last sign in: 02/27/2013
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
02/27/2013
-
05:56 AM Ruby Bug #7973: [doc] net/http URI passed to Net::HTTP::Post.new or Net::HTTP::Get.new errors NoMethodError: undefined method `empty?'
- a combined uri.path and uri.query (if exists) is needed
Net::HTTP::Get.new uri.path + '?' + uri.query
I probably should also request that URI has a method to returns path + query as it would make a lot of sense in these examples. -
05:51 AM Ruby Bug #7973 (Rejected): [doc] net/http URI passed to Net::HTTP::Post.new or Net::HTTP::Get.new errors NoMethodError: undefined method `empty?'
- http://www.ruby-doc.org/stdlib-2.0/libdoc/net/http/rdoc/Net/HTTP.html documents a URI object being passed to Net::HTTP::Get.new and Net::HTTP::Post.new a few times.
passing a URI to Net::HTTP::Post.new or Net::HTTP::Get.new throws a...