method

http_resp

ruby latest stable - Class: HttpServer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_1_10) is shown here.

http_resp(status_code, status_message=nil, header=nil, body=nil)
private

Returns a string which includes the status code message as, http headers, and body for the response.