diff --git a/lib/inets/doc/src/mod_esi.xml b/lib/inets/doc/src/mod_esi.xml index 9bdaac7a955e..5f992303e9da 100644 --- a/lib/inets/doc/src/mod_esi.xml +++ b/lib/inets/doc/src/mod_esi.xml @@ -150,7 +150,14 @@ that is, "\r\n\r\n", the server assumes that no HTTP header fields will be generated.

-

Env environment data of the request see description above.

+

To set the response status code, the special status response + header can be sent. For instance, to acknowledge creation of a resource + and annotate the response content type with JSON, one could respond with + the following headers:

+ + "status: 201 Created\r\n content-type: application/json\r\n\r\n" + +

Env environment data of the request, see description above.

Input is query data of a GET request or the body of a PUT or POST request. The default behavior (legacy reasons)