lib/udp_rest.rb in udp_rest-0.9.0 vs lib/udp_rest.rb in udp_rest-0.9.2
- old
+ new
@@ -123,9 +123,10 @@
client = self.new(uri.host, uri.port || 80)
req = UHTTPRequest.new
req.req_method = req_method
req.path = uri.path
+ req.query = uri.query
packet = client.send_text(req.to_s)
UHTTPResponse.parse(packet.text)
end
\ No newline at end of file