Skip to content

Commit 03bda12

Browse files
committed
http_server: add headers method
Signed-off-by: Shizuo Fujita <[email protected]>
1 parent 23a2a40 commit 03bda12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin-helper-overview/api-plugin-helper-http_server.md

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ Request supports these following methods:
9595
* `query`: returns query which is `query_string` parsed by `CGI.parse`
9696
* `body`: returns the request body
9797
* `path`: returns the request path
98+
* `headers`: returns `Protocol::HTTP::Headers` object to read the request headers
9899

99100
#### Response
100101

0 commit comments

Comments
 (0)