Skip to content
Myr

clean

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by dbairaktaris1 · committed by dbairaktaris1 · parent d8666e1 · Browse files · 1 file+1 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:requests/utils.py+1 added-2 removed
452 unmodified lines
453 :rtype: str454 """455 def parse_header(content_type):456 #Inner function to parse header457 content_type_and_params_delimiter = ';'458457 #append delimiter on end to ensure atleast two elements when split by ';'458 content_type_and_params_delimiter = ';'459 content_type += content_type_and_params_delimiter460461 tokens = content_type.split(content_type_and_params_delimiter)462 content_type_index = 0
499 unmodified lines