Please verify that I understand how this should work.
class Service
include HTTParty
end
Service.get("/url", {'a' => 'b'})
should result in something like
but instead it results in
Here are my logs:
74.80.33.74 - - [09/Apr/2013:11:56:38 -0400] "GET /?a=b HTTP/1.1" 302 102 "-" "curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/
1.2.3.4 libidn/1.23 librtmp/2.3"
Service.get('/", {'a' => 'b'})
74.80.33.74 - - [09/Apr/2013:11:58:12 -0400] "GET / HTTP/1.1" 302 102 "-" "-"
# of course, this works, but if that was your intent, why provide the second parameter?
74.80.33.74 - - [09/Apr/2013:11:58:51 -0400] "GET /?a=b HTTP/1.1" 302 102 "-" "-"
This happens in 1.8.7(mri), 1.9.3(mri) and 1.9.3(rbx) using httparty 0.10.2