bugfix: read request body

The recent file upload changes broke request body handling.  Fixed.