module documentation

Undocumented

Function curl​_to​_request​_kwargs Convert a cURL command syntax to Request kwargs.
Variable curl​_parser Undocumented
Variable safe​_to​_ignore​_arguments Undocumented
Class ​Curl​Parser Undocumented
Function ​_parse​_headers​_and​_cookies Undocumented
def curl_to_request_kwargs(curl_command, ignore_unknown_options=True):
Convert a cURL command syntax to Request kwargs.
Parameters
curl​_commandUndocumented
ignore​_unknown​_optionsUndocumented
str curl​_commandstring containing the curl command
bool ignore​_unknown​_optionsIf true, only a warning is emitted when cURL options are unknown. Otherwise raises an error. (default: True)
Returns
dictionary of Request kwargs
curl_parser =

Undocumented

safe_to_ignore_arguments: list =

Undocumented

def _parse_headers_and_cookies(parsed_args):

Undocumented