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

feature request: js_body_filter should have an option to operate on whole body #585

Open
ustun opened this issue Oct 14, 2022 · 1 comment
Labels

Comments

@ustun
Copy link

ustun commented Oct 14, 2022

js_body_filter should have an optional argument in which case nginx would buffer the body, and pass that to js_body_filter without chunking.

Current workaround is to collect the data in a temporary place.

#412 (comment)

@xeioex xeioex added the feature label Nov 17, 2022
@jo-carter
Copy link

jo-carter commented Apr 26, 2024

@ustun Why not just use js_content and r.subrequest to another (internal) location containing the original content handler (such as proxy_pass) if you need the entire body buffered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants