<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -80,11 +80,11 @@ module HTTParty
     end
 
     private
-      def perform_request(http_method, path, options)
+      def perform_request(http_method, path, options) #:nodoc:
         Request.new(http_method, path, default_options.merge(options)).perform
       end
     
-      # Makes it so uri is sure to parse stuff like google.com with the http
+      # Makes it so uri is sure to parse stuff like google.com without the http
       def normalize_base_uri(url) #:nodoc:
         use_ssl = (url =~ /^https/) || url.include?(':443')
         url.chop! if url.ends_with?('/')</diff>
      <filename>lib/httparty.rb</filename>
    </modified>
    <modified>
      <diff>@@ -37,16 +37,17 @@ describe HTTParty::Request do
     http.stub!(:request).and_return(response)
 
     @request.options[:format] = :xml
-    @request.send_request.should be_nil
+    @request.perform.should be_nil
 
     response.stub!(:body).and_return(&quot;&quot;)
-    @request.send_request.should be_nil
+    @request.perform.should be_nil
   end
 
   describe &quot;that respond with redirects&quot; do
     def setup_redirect
       @http = Net::HTTP.new('localhost', 80)
       @request.stub!(:http).and_return(@http)
+      @request.stub!(:uri).and_return(URI.parse(&quot;http://foo.com/foobar&quot;))
       @redirect = Net::HTTPFound.new(&quot;1.1&quot;, 302, &quot;&quot;)
       @redirect['location'] = '/foo'
     end
@@ -74,32 +75,32 @@ describe HTTParty::Request do
 
     it &quot;should handle redirects for GET transparently&quot; do
       setup_successful_redirect
-      @request.send_request.should == {&quot;hash&quot; =&gt; {&quot;foo&quot; =&gt; &quot;bar&quot;}}
+      @request.perform.should == {&quot;hash&quot; =&gt; {&quot;foo&quot; =&gt; &quot;bar&quot;}}
     end
 
     it &quot;should handle redirects for POST transparently&quot; do
       setup_successful_redirect
       @request.http_method = Net::HTTP::Post
-      @request.send_request.should == {&quot;hash&quot; =&gt; {&quot;foo&quot; =&gt; &quot;bar&quot;}}
+      @request.perform.should == {&quot;hash&quot; =&gt; {&quot;foo&quot; =&gt; &quot;bar&quot;}}
     end
 
     it &quot;should handle redirects for DELETE transparently&quot; do
       setup_successful_redirect
       @request.http_method = Net::HTTP::Delete
-      @request.send_request.should == {&quot;hash&quot; =&gt; {&quot;foo&quot; =&gt; &quot;bar&quot;}}
+      @request.perform.should == {&quot;hash&quot; =&gt; {&quot;foo&quot; =&gt; &quot;bar&quot;}}
     end
 
     it &quot;should handle redirects for PUT transparently&quot; do
       setup_successful_redirect
       @request.http_method = Net::HTTP::Put
-      @request.send_request.should == {&quot;hash&quot; =&gt; {&quot;foo&quot; =&gt; &quot;bar&quot;}}
+      @request.perform.should == {&quot;hash&quot; =&gt; {&quot;foo&quot; =&gt; &quot;bar&quot;}}
     end
 
     it &quot;should prevent infinite loops&quot; do
       setup_infinite_redirect
 
       lambda do
-        @request.send_request
+        @request.perform
       end.should raise_error(HTTParty::RedirectionTooDeep)
     end
   end</diff>
      <filename>spec/httparty/request_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -90,26 +90,6 @@ describe HTTParty do
       end.should raise_error(HTTParty::UnsupportedFormat)
     end
   end
-  
-  describe &quot;sending requests&quot; do
-    it &quot;should not work with request method other than get, post, put, delete&quot; do
-      lambda do
-        Foo.send(:send_request, 'foo', '/foo')
-      end.should raise_error(ArgumentError)
-    end
-    
-    it 'should require that :headers is a hash if present' do
-      lambda do
-        Foo.send(:send_request, 'get', '/foo', :headers =&gt; 'string')
-      end.should raise_error(ArgumentError)
-    end
-    
-    it 'should require that :basic_auth is a hash if present' do
-      lambda do
-        Foo.get('/foo', :basic_auth =&gt; 'string')
-      end.should raise_error(ArgumentError)
-    end
-  end
 
   describe &quot;with explicit override of automatic redirect handling&quot; do
 </diff>
      <filename>spec/httparty_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e0cb4311d9a80bb3a44ac47e7355d2e24dc7307f</id>
    </parent>
  </parents>
  <author>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </author>
  <url>http://github.com/jnunemaker/httparty/commit/9931e2a20dd579289407e28d1631ef319a5d3ad7</url>
  <id>9931e2a20dd579289407e28d1631ef319a5d3ad7</id>
  <committed-date>2008-11-11T20:27:58-08:00</committed-date>
  <authored-date>2008-11-11T20:27:58-08:00</authored-date>
  <message>Fixed failing specs.</message>
  <tree>22331d2d53930970dc63cd9121a3e9dceb60dff9</tree>
  <committer>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </committer>
</commit>
