internal_mime_type (HTTP::Message)

    # File lib/httpclient/http.rb, line 703
          def internal_mime_type(path)
            case path
            when /\.txt$/i
              'text/plain'
            when /\.(htm|html)$/i
              'text/html'
            when /\.doc$/i
              'application/msword'
            when /\.png$/i
              'image/png'
            when /\.gif$/i
              'image/gif'
            when /\.(jpg|jpeg)$/i
              'image/jpeg'
            else
              'application/octet-stream'
            end
          end