Header is being read correctly but body is not