<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -115,7 +115,8 @@ module HTTParty
         raise ArgumentError, 'only get, post, put and delete methods are supported' unless %w[get post put delete].include?(method.to_s)
         raise ArgumentError, ':headers must be a hash' if options[:headers] &amp;&amp; !options[:headers].is_a?(Hash)
         raise ArgumentError, ':basic_auth must be a hash' if options[:basic_auth] &amp;&amp; !options[:basic_auth].is_a?(Hash)
-        uri            = URI.parse(&quot;#{base_uri}#{path}&quot;)
+        path           = URI.parse(path)
+        uri            = path.relative? ? URI.parse(&quot;#{base_uri}#{path}&quot;) : path
         existing_query = uri.query ? &quot;#{uri.query}&amp;&quot; : ''
         uri.query      = if options[:query].blank?
           existing_query + default_params.to_query</diff>
      <filename>lib/httparty.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ae7ce3097731a034e7b9ddae2b30d3916efa3a5c</id>
    </parent>
  </parents>
  <author>
    <name>Alex Vollmer</name>
    <email>alex@evri.com</email>
  </author>
  <url>http://github.com/jnunemaker/httparty/commit/a279df8f703f40f6717ce9aa3af46b4257d99e28</url>
  <id>a279df8f703f40f6717ce9aa3af46b4257d99e28</id>
  <committed-date>2008-10-24T21:34:44-07:00</committed-date>
  <authored-date>2008-09-19T16:42:55-07:00</authored-date>
  <message>Be a little smarter with the paths that are passed in.

This is especially important for the redirect-handling in which we
may be pointed to a whole 'nother scheme/host that does not
match our base URI.</message>
  <tree>5453f67b231395f5f2aadbd62dacb9b8305ac73d</tree>
  <committer>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </committer>
</commit>
