(self)
Internal: read data in query string format.
Internal: read data in query string format.
Internal : read data in query string format .
def read_urlencoded(self):
        """Internal: read data in query string format."""
        qs = self.fp.read(self.length)
        if not isinstance(qs, bytes):
            raise ValueError("%s should return bytes, got %s" \
                             % (self.fp, type(qs).__name__))
        qs = qs.decode(self.encoding, self.errors)
        if self.qs_on_post:
            qs += '&' + self.qs_on_post
        query = urllib.parse.parse_qsl(
            qs, self.keep_blank_values, self.strict_parsing,
            encoding=self.encoding, errors=self.errors,
            max_num_fields=self.max_num_fields, separator=self.separator)
        self.list = [MiniFieldStorage(key, value) for key, value in query]
        self.skip_lines()
def read_urlencoded ( self ) : qs = self . fp . read ( self . length ) if not isinstance ( qs , bytes ) : raise ValueError ( "%s should return bytes, got %s" % ( self . fp , type ( qs ) . __name__ ) ) qs = qs . decode ( self . encoding , self . errors ) if self . qs_on_post : qs += '&' + self . qs_on_post query = urllib . parse . parse_qsl ( qs , self . keep_blank_values , self . strict_parsing , encoding = self . encoding , errors = self . errors , max_num_fields = self . max_num_fields , separator = self . separator ) self . list = [ MiniFieldStorage ( key , value ) for key , value in query ] self . skip_lines ( )