<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -106,6 +106,7 @@ module HTTParty
       # Uses the HTTP Content-Type header to determine the format of the response
       # It compares the MIME type returned to the types stored in the AllowedFormats hash
       def format_from_mimetype(mimetype) #:nodoc:
+        return nil unless mimetype
         AllowedFormats.each { |k, v| return k if mimetype.include?(v) }
       end
       </diff>
      <filename>lib/httparty/request.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e58cb014d8506f216cb5c12829b73da44f5b81c8</id>
    </parent>
  </parents>
  <author>
    <name>skippy</name>
    <email>adam@6bar8.com</email>
  </author>
  <url>http://github.com/jnunemaker/httparty/commit/03bd605631c2c626f0f13eaa5627272ff48e1baa</url>
  <id>03bd605631c2c626f0f13eaa5627272ff48e1baa</id>
  <committed-date>2008-12-16T11:57:50-08:00</committed-date>
  <authored-date>2008-12-16T11:57:50-08:00</authored-date>
  <message>some http services don't have their content-type setup, perhaps because they don't return anything except a response code (not an excuse...but that is not uncommon).  Do not fail if a content_type is not specified.</message>
  <tree>77015a8953cfd321ba7a1f9a26a4fba44972cd39</tree>
  <committer>
    <name>skippy</name>
    <email>adam@6bar8.com</email>
  </committer>
</commit>
