You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-08-10 22:42:05 +02:00
New URL.
This commit is contained in:
@@ -40,7 +40,7 @@ def get_response(args, config_dir):
|
||||
|
||||
def encode_headers(headers):
|
||||
# This allows for unicode headers which is non-standard but practical.
|
||||
# See: https://github.com/jkbr/httpie/issues/212
|
||||
# See: https://github.com/jakubroztocil/httpie/issues/212
|
||||
return dict(
|
||||
(name, value.encode('utf8') if isinstance(value, str) else value)
|
||||
for name, value in headers.items()
|
||||
|
Reference in New Issue
Block a user