<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -232,7 +232,7 @@ module RestClient
 		end
 
 		def default_headers
-			{ :accept =&gt; 'application/xml', :accept_encoding =&gt; 'gzip, deflate' }
+			{ :accept =&gt; '*/*; q=0.5, application/xml', :accept_encoding =&gt; 'gzip, deflate' }
 		end
 	end
 end</diff>
      <filename>lib/restclient/request.rb</filename>
    </modified>
    <modified>
      <diff>@@ -17,8 +17,8 @@ describe RestClient::Request do
 		@net.stub!(:verify_mode=)
 	end
 
-	it &quot;requests xml mimetype&quot; do
-		@request.default_headers[:accept].should == 'application/xml'
+	it &quot;accept */* mimetype, preferring xml&quot; do
+		@request.default_headers[:accept].should == '*/*; q=0.5, application/xml'
 	end
 
 	it &quot;decodes an uncompressed result body by passing it straight through&quot; do</diff>
      <filename>spec/request_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1f55b447e962c9eb93db78f615f9b2e4da0a033b</id>
    </parent>
  </parents>
  <author>
    <name>Adam Wiggins</name>
    <email>adam@heroku.com</email>
  </author>
  <url>http://github.com/adamwiggins/rest-client/commit/b2dda517e44565bc72ef119416e2166486a6bdf0</url>
  <id>b2dda517e44565bc72ef119416e2166486a6bdf0</id>
  <committed-date>2009-07-22T15:15:26-07:00</committed-date>
  <authored-date>2009-07-22T14:54:33-07:00</authored-date>
  <message>accept */* but prefer xml for backward compatibility</message>
  <tree>d1635d51bb461e16534e0c38463b6b3c61f6db52</tree>
  <committer>
    <name>Adam Wiggins</name>
    <email>adam@heroku.com</email>
  </committer>
</commit>
