Skip to content

Commit d29128a

Browse files
authored
Merge 1ef49df into 38ff223
2 parents 38ff223 + 1ef49df commit d29128a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ end
249249
* `req.peer` - a Lua table with information about the remote peer
250250
(like `socket:peer()`).
251251
* `tostring(req)` - returns a string representation of the request.
252-
* `req:request_line()` - returns the request body.
252+
* `req:request_line()` - returns a first line of the http request packet (for example, `PUT /path HTTP/1.1`).
253253
* `req:read(delimiter|chunk|{delimiter = x, chunk = x}, timeout)` - reads the
254254
raw request body as a stream (see `socket:read()`).
255255
* `req:json()` - returns a Lua table from a JSON request.

0 commit comments

Comments
 (0)