Bug 66534 - Using the requestbody() method reads and returns the body of the HTTP request but it also REMOVES the body of the request.
Summary: Using the requestbody() method reads and returns the body of the HTTP request...
Status: NEEDINFO
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_lua (show other bugs)
Version: 2.5-HEAD
Hardware: PC All
: P2 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-20 11:33 UTC by henrychen7777
Modified: 2023-03-22 00:22 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description henrychen7777 2023-03-20 11:33:29 UTC

    
Comment 1 Eric Covener 2023-03-22 00:22:17 UTC
Apache doesn't buffer/cache bodies by default. If you don't want to act as a filter, you can try something like https://httpd.apache.org/docs/trunk/mod/mod_request.html to allow multiple modules to read the body.