Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request Body Modification #243

Closed
Bukati opened this issue May 18, 2024 · 3 comments
Closed

Request Body Modification #243

Bukati opened this issue May 18, 2024 · 3 comments
Labels
Accepted This change is accepted by us and merged to our internal repo question Further information is requested

Comments

@Bukati
Copy link

Bukati commented May 18, 2024

I am working on a reverse proxy for a particular purpose and need to modify/replace the request body during processing. In OpenResty, I used set_body_data to replace the body of a request before passing it to the destination.
I am looking for a similar functionality in Pingora. Is this available today? Any idea of how can I achieve it?

@andrewhavck andrewhavck added the question Further information is requested label May 18, 2024
@andrewhavck
Copy link
Contributor

Not available today but very soon, likely our next weekly sync.

@andrewhavck andrewhavck added the Accepted This change is accepted by us and merged to our internal repo label May 18, 2024
@iluxav
Copy link

iluxav commented May 18, 2024

It would be great to have such a method!!!
I'm trying to archive the same thing. Looking forward to it...

@drcaramelsyrup
Copy link
Contributor

request_body_filter with the ability to mutate body added in f38f3b9. Feel free to open issues if that API doesn't meet your needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted This change is accepted by us and merged to our internal repo question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants