You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-08-10 22:42:05 +02:00
Replaced --ignore-http-status with --check-status.
The default behaviour now is to exit with 0 on HTTP errors unless --check-status is set.
This commit is contained in:
@@ -17,6 +17,8 @@ class Environment(object):
|
||||
stdout_isatty = sys.stdout.isatty()
|
||||
stdout = sys.stdout
|
||||
|
||||
stderr = sys.stderr
|
||||
|
||||
# Can be set to 0 to disable colors completely.
|
||||
colors = 256 if '256color' in os.environ.get('TERM', '') else 88
|
||||
|
||||
|
Reference in New Issue
Block a user