The body of the reply consists of the data in databuf. After calling
evhttp_send_reply() databuf will be empty, but the buffer is still
owned by the caller and needs to be deallocated by the caller if
necessary.
@param req a request object
@param code the HTTP response code to send
@param reason a brief message to send with the response code
@param databuf the body of the response
Send an HTML reply to the client.
The body of the reply consists of the data in databuf. After calling evhttp_send_reply() databuf will be empty, but the buffer is still owned by the caller and needs to be deallocated by the caller if necessary.
@param req a request object @param code the HTTP response code to send @param reason a brief message to send with the response code @param databuf the body of the response