<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -294,7 +294,7 @@ module OAuth
       http_method = http_method.to_sym
 
       if [:post, :put].include?(http_method)
-        data = arguments.shift
+        data = (arguments.shift || {}).reject { |k,v| v.nil? }
       end
 
       headers = arguments.first.is_a?(Hash) ? arguments.shift : {}</diff>
      <filename>lib/oauth/consumer.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5c8aae17b18dd7651c63d7dfb71a10162138bbd4</id>
    </parent>
  </parents>
  <author>
    <name>Seth Fitzsimmons</name>
    <login>mojodna</login>
    <email>seth@mojodna.net</email>
  </author>
  <url>http://github.com/mojodna/oauth/commit/3fa4dabc1c4fcc6030761dc449925cfbb449d469</url>
  <id>3fa4dabc1c4fcc6030761dc449925cfbb449d469</id>
  <committed-date>2009-05-26T14:57:41-07:00</committed-date>
  <authored-date>2009-05-26T14:28:58-07:00</authored-date>
  <message>drop nil parameters passed as additional args</message>
  <tree>97a9981f9bef7fa3d049709bcf4f9c65f5a467a5</tree>
  <committer>
    <name>Seth Fitzsimmons</name>
    <login>mojodna</login>
    <email>seth@mojodna.net</email>
  </committer>
</commit>
