We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38ff223 commit 7881864Copy full SHA for 7881864
README.md
@@ -249,7 +249,7 @@ end
249
* `req.peer` - a Lua table with information about the remote peer
250
(like `socket:peer()`).
251
* `tostring(req)` - returns a string representation of the request.
252
-* `req:request_line()` - returns the request body.
+* `req:request_line()` - returns a first line of the http request (for example, `PUT /path HTTP/1.1`).
253
* `req:read(delimiter|chunk|{delimiter = x, chunk = x}, timeout)` - reads the
254
raw request body as a stream (see `socket:read()`).
255
* `req:json()` - returns a Lua table from a JSON request.
0 commit comments