Reading “chunked” POST data in PHP
问题 I'm trying to read the POST data from a request with "Transfer-Encoding: chunked" while it's being sent but can't get the script to fire until after all of the data has been received, is it possible to get PHP to be able to react to a chunked request as it's coming through? Using PHP 5.3.8 with Apache. 回答1: The current Apache API does not provide the ability to invoke a response handler before the request has been completely received. It is not possible for any module ( mod_php , mod_cgi et