Name
get_params
Synopsis
m
.get_params(default
=None,header
='Content-Type')
Returns the parameters of
m
’s header named
header
, a list of pairs of strings giving
each parameter’s name and value. Uses the empty
string as the value for parameters specified just by name. When
m
has no header
header
, get_params
returns default
.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.