class Yajl::HttpStream

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

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