module HTTParty

def self.copy(*args, &block)

def self.copy(*args, &block)
  Basement.copy(*args, &block)
end

def self.delete(*args, &block)

def self.delete(*args, &block)
  Basement.delete(*args, &block)
end

def self.get(*args, &block)

def self.get(*args, &block)
  Basement.get(*args, &block)
end

def self.head(*args, &block)

def self.head(*args, &block)
  Basement.head(*args, &block)
end

def self.included(base)

def self.included(base)
  base.extend ClassMethods
  base.send :include, ModuleInheritableAttributes
  base.send(:mattr_inheritable, :default_options)
  base.send(:mattr_inheritable, :default_cookies)
  base.instance_variable_set(:@default_options, {})
  base.instance_variable_set(:@default_cookies, CookieHash.new)
end

def self.move(*args, &block)

def self.move(*args, &block)
  Basement.move(*args, &block)
end

def self.normalize_base_uri(url) #:nodoc:

:nodoc:
def self.normalize_base_uri(url) #:nodoc:
  normalized_url = url.dup
  use_ssl = (normalized_url =~ /^https/) || (normalized_url =~ /:443\b/)
  ends_with_slash = normalized_url =~ /\/$/
  normalized_url.chop! if ends_with_slash
  normalized_url.gsub!(/^https?:\/\//i, '')
  "http#{'s' if use_ssl}://#{normalized_url}"
end

def self.options(*args, &block)

def self.options(*args, &block)
  Basement.options(*args, &block)
end

def self.patch(*args, &block)

def self.patch(*args, &block)
  Basement.patch(*args, &block)
end

def self.post(*args, &block)

def self.post(*args, &block)
  Basement.post(*args, &block)
end

def self.put(*args, &block)

def self.put(*args, &block)
  Basement.put(*args, &block)
end