'Populates self._post and self._files'

def _load_post_and_files(self):

    if (self.method != 'POST'):
        (self._post, self._files) = (http.QueryDict('', encoding=self._encoding), datastructures.MultiValueDict())
        return
    if (('content-type' in self._req.headers_in) and self._req.headers_in['content-type'].startswith('multipart')):
        self._raw_post_data = ''
        try:
            (self._post, self._files) = self.parse_file_upload(self.META, self._req)
        except:
            self._post = http.QueryDict('')
            self._files = datastructures.MultiValueDict()
            self._post_parse_error = True
            raise
    else:
        (self._post, self._files) = (http.QueryDict(self.raw_post_data, encoding=self._encoding), datastructures.MultiValueDict())
