WebStyle: POST handling fix

* Correctly handles reading using chunks in POST
  requests.
  (PR #1951)

Co-authored-by: Alessio Deiana <alessio.deiana@cern.ch>
Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>