<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -7,6 +7,7 @@ module HTTParty
     end
 
     attr_accessor :http_method, :path, :options
+    
     def initialize(http_method, path, options={})
       options = {:limit =&gt; 5}.merge(options)
       options[:limit] = 0 if options.delete(:no_follow)
@@ -48,9 +49,8 @@ module HTTParty
       
       request        = http_method.new(uri.request_uri)
       request.body   = options[:body].is_a?(Hash) ? options[:body].to_query : options[:body] unless options[:body].blank?
-      basic_auth     = options.delete(:basic_auth)
       request.initialize_http_header options[:headers]
-      request.basic_auth(basic_auth[:username], basic_auth[:password]) if options[:basic_auth]
+      request.basic_auth(options[:basic_auth][:username], options[:basic_auth][:password]) if options[:basic_auth]
       response       = http(uri).request(request)
       
       options[:format] ||= format_from_mimetype(response['content-type'])</diff>
      <filename>lib/httparty/request.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>eb4a26bb874b3fd281e55a4396b43c1d5bab9d27</id>
    </parent>
  </parents>
  <author>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </author>
  <url>http://github.com/jnunemaker/httparty/commit/c6867ca01de950bf2dbb9c606b5af9ca245ee6ab</url>
  <id>c6867ca01de950bf2dbb9c606b5af9ca245ee6ab</id>
  <committed-date>2008-11-11T15:05:58-08:00</committed-date>
  <authored-date>2008-11-11T15:05:58-08:00</authored-date>
  <message>Fixed that basic auth was not passing through correctly.</message>
  <tree>64d52a2e89f2f80d02f696f89ae51bf1a03529ac</tree>
  <committer>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </committer>
</commit>
