title: How to handle chunked encoding request properly?
body: <p>I have two websites: one with Lighttpd with PHP and second with Apache and neither of this handle chunked transfer encoding properly.</p>
  
  <p>I send this request from my mobile, J2ME and there is no possibility to change this transfer type to any other.</p>
  
  <p>So my only way to go is to handle chunked transfer enconcoded requests in other way. Any solution will be good as long as I can enable it on my CentOS server where I can install and change everything that will be necessary.</p>
  
  <p>So my question is: how to handle chunked encoding request properly on server side?</p>