class Yajl::HttpStream

def put(uri, body, opts = {}, &block)

Makes a basic HTTP PUT request to the URI provided allowing the user to terminate the connection
def put(uri, body, opts = {}, &block)
  initialize_socket(uri, opts)
  HttpStream::put(uri, body, opts, &block)
rescue IOError => e
  raise e unless @intentional_termination
end