From 549c2866cd4b1e6de2dfa0b29e963280ad1f530b Mon Sep 17 00:00:00 2001 From: Shizuo Fujita Date: Fri, 11 Apr 2025 17:23:05 +0900 Subject: [PATCH] http_server: add headers method Signed-off-by: Shizuo Fujita --- plugin-helper-overview/api-plugin-helper-http_server.md | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin-helper-overview/api-plugin-helper-http_server.md b/plugin-helper-overview/api-plugin-helper-http_server.md index a96bf8f2..3de36bff 100644 --- a/plugin-helper-overview/api-plugin-helper-http_server.md +++ b/plugin-helper-overview/api-plugin-helper-http_server.md @@ -95,6 +95,7 @@ Request supports these following methods: * `query`: returns query which is `query_string` parsed by `CGI.parse` * `body`: returns the request body * `path`: returns the request path +* `headers`: returns `Protocol::HTTP::Headers` object to read the request headers (since v1.19.0) #### Response