How do I access the request data POSTed by the client?
Insert your code as an input filter and use the Bucket API to read any request data. A common question is “what field in the request structure points to the POSTed request data?”. However, there is no such field. Because the length of the POSTed data is unbounded, Apache could not store it in a data structure without limiting its length (and hence breaking HTTP standard compliant applications of the protocol) or risking denial-of-service-based on innocent-error-caused exhaustion of address space resources. The best way to get access to POSTed data and “play nicely” in the Apache world is to use an input filter. It will also allow you to access SSL encrypted request data (assuming that your filter accesses the input bucket brigade after the SSL input filter, which it almost certainly will).
Related Questions
- Only individuals with a user ID on the Access Data Backup Client software will be able to administer its functions. Can users administer backups for their own machines?
- Can the client browser request for bypassing local/proxy cache and fetching data directly from server?
- How you will save the data across different pages for a particular client request using Struts ?