<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -12,7 +12,7 @@ begin
     p.email           = &quot;psadauskas@gmail.com&quot;
 
     p.ignore_pattern  = [&quot;pkg/*&quot;, &quot;tmp/*&quot;]
-    p.dependencies    = [['addressable', '&gt;= 2.1.0'], 'httpauth', ['options', '&gt;= 2.2.0']]
+    p.dependencies    = [['addressable', '&gt;= 2.1.0'], 'httpauth', ['options', '&gt;= 2.1.1']]
     p.development_dependencies = ['thin', 'yard', 'sinatra', 'rspec']
     p.retain_gemspec  = true
   end</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 require 'options'
 require 'set'
-require 'facets/memoize'
 
 # Represents the header fields of an HTTP message.  To access a field
 # you can use `#[]` and `#[]=`.  For example, to get the content type
@@ -51,6 +50,10 @@ module Resourceful
       field_def(k).set_to(v, @raw_fields)
     end
 
+    def delete(k)
+      field_def(k).delete(@raw_fields)
+    end
+
     def has_key?(k)
       field_def(k).exists_in?(@raw_fields)
     end
@@ -156,6 +159,10 @@ module Resourceful
                                 end
       end
       
+      def delete(raw_fields_hash)
+        raw_fields_hash.delete(name)
+      end
+      
       def exists_in?(raw_fields_hash)
         raw_fields_hash.has_key?(name)
       end</diff>
      <filename>lib/resourceful/header.rb</filename>
    </modified>
    <modified>
      <diff>@@ -82,7 +82,11 @@ module Resourceful
     end
 
     def body
-      encoding = header['Content-Encoding']
+      return @body if  header['Content-Encoding'].nil? or header['Content-Encoding'].empty?
+      raise(NotImplementedError, 'Chained encodings are not supported') if header['Content-Encoding'].length &gt; 1
+
+      encoding = header['Content-Encoding'].first
+      
       case encoding
       when nil
         # body is identity encoded; just return it</diff>
      <filename>lib/resourceful/response.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,27 +6,26 @@ Gem::Specification.new do |s|
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 1.2&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Paul Sadauskas&quot;]
-  s.date = %q{2009-08-25}
+  s.date = %q{2009-10-06}
   s.description = %q{An HTTP library for Ruby that takes advantage of everything HTTP has to offer.}
   s.email = %q{psadauskas@gmail.com}
   s.extra_rdoc_files = [&quot;lib/resourceful/abstract_form_data.rb&quot;, &quot;lib/resourceful/authentication_manager.rb&quot;, &quot;lib/resourceful/cache_manager.rb&quot;, &quot;lib/resourceful/exceptions.rb&quot;, &quot;lib/resourceful/header.rb&quot;, &quot;lib/resourceful/http_accessor.rb&quot;, &quot;lib/resourceful/memcache_cache_manager.rb&quot;, &quot;lib/resourceful/multipart_form_data.rb&quot;, &quot;lib/resourceful/net_http_adapter.rb&quot;, &quot;lib/resourceful/request.rb&quot;, &quot;lib/resourceful/resource.rb&quot;, &quot;lib/resourceful/response.rb&quot;, &quot;lib/resourceful/stubbed_resource_proxy.rb&quot;, &quot;lib/resourceful/urlencoded_form_data.rb&quot;, &quot;lib/resourceful/util.rb&quot;, &quot;lib/resourceful.rb&quot;, &quot;README.markdown&quot;]
   s.files = [&quot;History.txt&quot;, &quot;lib/resourceful/abstract_form_data.rb&quot;, &quot;lib/resourceful/authentication_manager.rb&quot;, &quot;lib/resourceful/cache_manager.rb&quot;, &quot;lib/resourceful/exceptions.rb&quot;, &quot;lib/resourceful/header.rb&quot;, &quot;lib/resourceful/http_accessor.rb&quot;, &quot;lib/resourceful/memcache_cache_manager.rb&quot;, &quot;lib/resourceful/multipart_form_data.rb&quot;, &quot;lib/resourceful/net_http_adapter.rb&quot;, &quot;lib/resourceful/request.rb&quot;, &quot;lib/resourceful/resource.rb&quot;, &quot;lib/resourceful/response.rb&quot;, &quot;lib/resourceful/stubbed_resource_proxy.rb&quot;, &quot;lib/resourceful/urlencoded_form_data.rb&quot;, &quot;lib/resourceful/util.rb&quot;, &quot;lib/resourceful.rb&quot;, &quot;Manifest&quot;, &quot;MIT-LICENSE&quot;, &quot;Rakefile&quot;, &quot;README.markdown&quot;, &quot;resourceful.gemspec&quot;, &quot;spec/acceptance/authorization_spec.rb&quot;, &quot;spec/acceptance/caching_spec.rb&quot;, &quot;spec/acceptance/header_spec.rb&quot;, &quot;spec/acceptance/redirecting_spec.rb&quot;, &quot;spec/acceptance/resource_spec.rb&quot;, &quot;spec/acceptance_shared_specs.rb&quot;, &quot;spec/caching_spec.rb&quot;, &quot;spec/old_acceptance_specs.rb&quot;, &quot;spec/resourceful/header_spec.rb&quot;, &quot;spec/resourceful/http_accessor_spec.rb&quot;, &quot;spec/resourceful/multipart_form_data_spec.rb&quot;, &quot;spec/resourceful/resource_spec.rb&quot;, &quot;spec/resourceful/response_spec.rb&quot;, &quot;spec/resourceful/urlencoded_form_data_spec.rb&quot;, &quot;spec/simple_sinatra_server.rb&quot;, &quot;spec/simple_sinatra_server_spec.rb&quot;, &quot;spec/spec.opts&quot;, &quot;spec/spec_helper.rb&quot;]
-  s.has_rdoc = true
   s.homepage = %q{http://github.com/paul/resourceful}
   s.rdoc_options = [&quot;--line-numbers&quot;, &quot;--inline-source&quot;, &quot;--title&quot;, &quot;Resourceful&quot;, &quot;--main&quot;, &quot;README.markdown&quot;]
   s.require_paths = [&quot;lib&quot;]
   s.rubyforge_project = %q{resourceful}
-  s.rubygems_version = %q{1.3.1}
+  s.rubygems_version = %q{1.3.5}
   s.summary = %q{An HTTP library for Ruby that takes advantage of everything HTTP has to offer.}
 
   if s.respond_to? :specification_version then
     current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
-    s.specification_version = 2
+    s.specification_version = 3
 
     if Gem::Version.new(Gem::RubyGemsVersion) &gt;= Gem::Version.new('1.2.0') then
       s.add_runtime_dependency(%q&lt;addressable&gt;, [&quot;&gt;= 2.1.0&quot;])
       s.add_runtime_dependency(%q&lt;httpauth&gt;, [&quot;&gt;= 0&quot;])
-      s.add_runtime_dependency(%q&lt;options&gt;, [&quot;&gt;= 2.2.0&quot;])
+      s.add_runtime_dependency(%q&lt;options&gt;, [&quot;&gt;= 2.1.1&quot;])
       s.add_development_dependency(%q&lt;thin&gt;, [&quot;&gt;= 0&quot;])
       s.add_development_dependency(%q&lt;yard&gt;, [&quot;&gt;= 0&quot;])
       s.add_development_dependency(%q&lt;sinatra&gt;, [&quot;&gt;= 0&quot;])
@@ -34,7 +33,7 @@ Gem::Specification.new do |s|
     else
       s.add_dependency(%q&lt;addressable&gt;, [&quot;&gt;= 2.1.0&quot;])
       s.add_dependency(%q&lt;httpauth&gt;, [&quot;&gt;= 0&quot;])
-      s.add_dependency(%q&lt;options&gt;, [&quot;&gt;= 2.2.0&quot;])
+      s.add_dependency(%q&lt;options&gt;, [&quot;&gt;= 2.1.1&quot;])
       s.add_dependency(%q&lt;thin&gt;, [&quot;&gt;= 0&quot;])
       s.add_dependency(%q&lt;yard&gt;, [&quot;&gt;= 0&quot;])
       s.add_dependency(%q&lt;sinatra&gt;, [&quot;&gt;= 0&quot;])
@@ -43,7 +42,7 @@ Gem::Specification.new do |s|
   else
     s.add_dependency(%q&lt;addressable&gt;, [&quot;&gt;= 2.1.0&quot;])
     s.add_dependency(%q&lt;httpauth&gt;, [&quot;&gt;= 0&quot;])
-    s.add_dependency(%q&lt;options&gt;, [&quot;&gt;= 2.2.0&quot;])
+    s.add_dependency(%q&lt;options&gt;, [&quot;&gt;= 2.1.1&quot;])
     s.add_dependency(%q&lt;thin&gt;, [&quot;&gt;= 0&quot;])
     s.add_dependency(%q&lt;yard&gt;, [&quot;&gt;= 0&quot;])
     s.add_dependency(%q&lt;sinatra&gt;, [&quot;&gt;= 0&quot;])</diff>
      <filename>resourceful.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>040f65429992cd870f63428a3b8d31f53bd0ee5a</id>
    </parent>
  </parents>
  <author>
    <name>Peter Williams</name>
    <email>pezra@barelyenough.org</email>
  </author>
  <url>http://github.com/pezra/resourceful/commit/52e835c0375544c7185546b215f33a91f1ce17e5</url>
  <id>52e835c0375544c7185546b215f33a91f1ce17e5</id>
  <committed-date>2009-10-06T07:59:35-07:00</committed-date>
  <authored-date>2009-10-06T07:59:35-07:00</authored-date>
  <message>Removed require of facets since we don't use it; fixed issue w/ gzip content-ecoding</message>
  <tree>eada63963f72bf62f8cb31f79b983da02bc1db56</tree>
  <committer>
    <name>Peter Williams</name>
    <email>pezra@barelyenough.org</email>
  </committer>
</commit>
