# File lib/curl.rb, line 7
  def self.http(verb, url, post_body=nil, put_data=nil, &block)
    handle = Curl::Easy.new(url)
    handle.post_body = post_body if post_body
    handle.put_data = put_data if put_data
    yield handle if block_given?
    handle.http(verb)
    handle
  end