Name
get_param
Synopsis
m
.get_param(param
,default
=None,header
='Content-Type')
Returns the string value of the parameter named
param
of
m
’s header named
header
. Returns the empty string for a
parameter specified just by name. When m
has no header header
, or the header has no
parameter named param
,
get_param
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.