Skip to content

Conversation

zshipko
Copy link
Contributor

@zshipko zshipko commented Oct 9, 2024

  • Adds extism:host/env::http_headers to access HTTP response headers
  • Adds PluginBuilder::with_http_response_headers to enable response headers from Rust
  • Adds extism_plugin_allow_http_response_headers to enable response headers using the C API

TODO:

  • Update a PDK to use extism:host/env::http_headers so I can test this

zshipko added a commit to extism/go-sdk that referenced this pull request Oct 14, 2024
See extism/extism#774

- Adds `PluginConfig.EnableHttpResponseHeaders`
- Adds `http_headers` host function
@zshipko zshipko merged commit 7b6664d into main Oct 14, 2024
5 checks passed
@zshipko zshipko deleted the http-response-headers branch October 14, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant