<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -117,6 +117,9 @@ module HTTParty
         else
           existing_query + (options[:query].is_a?(Hash) ? default_params.merge(options[:query]).to_query : options[:query])
         end
+		if uri.query.blank?
+			uri.query = nil
+		end
         klass          = Net::HTTP.const_get method.to_s.downcase.capitalize
         request        = klass.new(uri.request_uri)
         request.body   = options[:body].is_a?(Hash) ? options[:body].to_query : options[:body] unless options[:body].blank?</diff>
      <filename>lib/httparty.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>df9957cfa569c4a15230f5b2cda0a5d8f1b3e727</id>
    </parent>
  </parents>
  <author>
    <name>Matt Stocum</name>
    <email>mms28@drexel.edu</email>
  </author>
  <url>http://github.com/mattstocum/httparty/commit/6cbdc306c658bac8478337d19d391a8b99cb4313</url>
  <id>6cbdc306c658bac8478337d19d391a8b99cb4313</id>
  <committed-date>2008-08-25T13:35:37-07:00</committed-date>
  <authored-date>2008-08-25T13:35:37-07:00</authored-date>
  <message>Check if uri.query is blank, and if so set it to nil.  This prevents appending a ? to the end of the request if no query options were passed.</message>
  <tree>cf0a4a0e266ad99f6f66bf5722bf69cc8c64c762</tree>
  <committer>
    <name>Matt Stocum</name>
    <email>mms28@drexel.edu</email>
  </committer>
</commit>
