matcha
matcha copied to clipboard
FEAT: Support multiple values for HTTP headers in Plugin API
Is your feature request related to a problem?
The matcha.http function in the plugin API only supports a single value for each header key. Some HTTP responses might include multiple values for the same header (e.g., Set-Cookie).
Describe the solution you'd like
Update plugin/http.go:luaHTTP to handle multiple values for headers, perhaps by allowing header values in the Lua table to be either strings or tables of strings.
Describe alternatives you've considered
N/A
Additional context
Check plugin/http.go.
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.