moonbridge
changeset 14:72e3a705ea67
Alphabetical order in reference.txt
author | jbe |
---|---|
date | Thu Jan 29 16:54:41 2015 +0100 (2015-01-29) |
parents | 96b6c31d72e3 |
children | 1fc0142c32e4 |
files | reference.txt |
line diff
1.1 --- a/reference.txt Thu Jan 29 16:53:02 2015 +0100 1.2 +++ b/reference.txt Thu Jan 29 16:54:41 2015 +0100 1.3 @@ -361,6 +361,16 @@ 1.4 sent. 1.5 1.6 1.7 +### request:send_text_status_response(status_string, text) 1.8 + 1.9 +Sends a HTTP status plus a response body of content-type "text/plain" and 1.10 +finishes the request using request:finish(). The status_string has to be 1.11 +provided in the same format as expected by request:send_status(...) and will 1.12 +be included in the response body as plain text. The additional second "text" 1.13 +argument will be appended to the reponse body (separated by an empty line) if 1.14 +given. 1.15 + 1.16 + 1.17 ### request.socket 1.18 1.19 The underlaying socket. Can be used to force a TCP RST, etc. 1.20 @@ -404,13 +414,3 @@ 1.21 the callback without arguments). 1.22 1.23 1.24 -### request:send_text_status_response(status_string, text) 1.25 - 1.26 -Sends a HTTP status plus a response body of content-type "text/plain" and 1.27 -finishes the request using request:finish(). The status_string has to be 1.28 -provided in the same format as expected by request:send_status(...) and will 1.29 -be included in the response body as plain text. The additional second "text" 1.30 -argument will be appended to the reponse body (separated by an empty line) if 1.31 -given. 1.32 - 1.33 -