envoyproxy / envoyproxy/envoy

External processor should be able to return binary data as an immediate response

Open
#32,071 21 comments 0 reactions 1 assignee Claimed by @stevenzzzz View on GitHub
area/ext_proc enhancement no stalebot
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 22h
Merged PRs (30d)
430

Description

*Description*:
External processor ImmidateResponse.Builder has a method called setBodyBytes however this method checks to make sure the body bytes are UTF-8. We are wanting to leverage external processor to create a response cache. When we have previously cached a response we want to return that response via the ImmediateResponse mechanism. Because immediate response only allows UTF-8, we are limited to caching only text type responses, which makes external processor unsuitable for our usecase.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.