urllib.parse.parse_qs(qs, keep_blank_values=False, strict_parsing=False, encoding='utf-8', errors='replace') Parse a query string given as a string argument (data of type application/x-www-form-urlencoded). Data are returned as a dictionary. The dictionary keys are the unique query variable names and the values are lists of values for each name. The optional argument keep_blank_values is a flag indicating whether blank values in percent-encoded queries should be treated as blank strings. A t
class urllib.parse.ParseResultBytes(scheme, netloc, path, params, query, fragment) Concrete class for urlparse() results containing bytes data. The decode() method returns a ParseResult instance. New in version 3.2.
class urllib.parse.ParseResult(scheme, netloc, path, params, query, fragment) Concrete class for urlparse() results containing str data. The encode() method returns a ParseResultBytes instance.
class urllib.parse.DefragResultBytes(url, fragment) Concrete class for urldefrag() results containing bytes data. The decode() method returns a DefragResult instance. New in version 3.2.
class urllib.parse.DefragResult(url, fragment) Concrete class for urldefrag() results containing str data. The encode() method returns a DefragResultBytes instance. New in version 3.2.
reason The reason for this error. It can be a message string or another exception instance.
exception urllib.error.URLError The handlers raise this exception (or derived exceptions) when they run into a problem. It is a subclass of OSError. reason The reason for this error. It can be a message string or another exception instance. Changed in version 3.3: URLError has been made a subclass of OSError instead of IOError.
reason This is usually a string explaining the reason for this error.
headers The HTTP response headers for the HTTP request that caused the HTTPError. New in version 3.4.
code An HTTP status code as defined in RFC 2616. This numeric value corresponds to a value found in the dictionary of codes as found in http.server.BaseHTTPRequestHandler.responses.
Page 78 of 663