I noticed there's an issue when parsing headers that contain colons such as --put-header="Expires: Sat, 07 May 2022 00:00:00 GMT". This commit fixes that issue.
Fix error parsing headers with more than 1 ':' in them
Bugfix for headers with more than one ':'
See also: sstoiana#7