mirror of
https://github.com/httpie/cli.git
synced 2024-11-29 19:23:22 +01:00
0572158ba1
Also added `--ignore-http-status` to ensure 0 exit status. HTTP 3xx result in 0 exit status when `--allow-redirects` is set.
12 lines
177 B
Python
12 lines
177 B
Python
#!/usr/bin/env python
|
|
"""
|
|
The main entry point. Invoke as `http' or `python -m httpie'.
|
|
|
|
"""
|
|
import sys
|
|
from .core import main
|
|
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(main())
|