--offline not being recognized
See original GitHub issueChecklist
- I’ve searched for similar issues.
- I’m using the latest version of HTTPie.
OS: Ubuntu 20.04 LTS
Minimal reproduction code and steps
pip3 install httpie
http google.com --offline
Current result
http: error: unrecognized arguments: --offline
…
Expected result
https://httpie.io/docs/cli/introduction …
Debug output
Please re-run the command with --debug
, then copy the entire command & output and paste both below:
HTTPie 1.0.3
Requests 2.22.0
Pygments 2.3.1
Python 3.8.10 (default, Nov 26 2021, 20:14:08)
[GCC 9.3.0]
/usr/bin/python3
Linux 5.13.0-28-generic
<Environment {
"colors": 256,
"config": {
"__meta__": {
"about": "HTTPie configuration file",
"help": "https://httpie.org/doc#config",
"httpie": "1.0.3"
},
"default_options": "[]"
},
"config_dir": "/home/igor/.httpie",
"is_windows": false,
"stderr": "<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>",
"stderr_isatty": true,
"stdin": "<_io.TextIOWrapper name='<stdin>' mode='r' encoding='utf-8'>",
"stdin_encoding": "utf-8",
"stdin_isatty": true,
"stdout": "<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>",
"stdout_encoding": "utf-8",
"stdout_isatty": true
}>
usage: http [--json] [--form] [--pretty {all,colors,format,none}] [--style STYLE] [--print WHAT] [--headers] [--body] [--verbose] [--all]
[--history-print WHAT] [--stream] [--output FILE] [--download] [--continue]
[--session SESSION_NAME_OR_PATH | --session-read-only SESSION_NAME_OR_PATH] [--auth USER[:PASS]] [--auth-type {basic,digest}]
[--proxy PROTOCOL:PROXY_URL] [--follow] [--max-redirects MAX_REDIRECTS] [--timeout SECONDS] [--check-status] [--verify VERIFY]
[--ssl {ssl2.3,tls1,tls1.1,tls1.2}] [--cert CERT] [--cert-key CERT_KEY] [--ignore-stdin] [--help] [--version] [--traceback]
[--default-scheme DEFAULT_SCHEME] [--debug]
[METHOD] URL [REQUEST_ITEM [REQUEST_ITEM ...]]
http: error: unrecognized arguments: --offline
Additional information, screenshots, or code examples
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Troubleshooting offline printer problems in Windows
Your printer might appear offline if it can't communicate with your PC. Try following these steps to get your printer back online.
Read more >Printer NOT Working / Offline / Not Recognized - Fix - YouTube
How to Fix Printer Issues in Windows PC, Laptop windowsprinter offlineprinter status not connectedPrinter not recognized by your ...
Read more >What To Do When Your Printer is Offline - Driver Easy
Method 1: Check Printer Connection · Power off and then power on your printer to restart it. Wait for a while for it...
Read more >Printer Offline? 10 Fixes to Get It Back Online in Windows 10
First things first: check all the printer cables. Ensure they are securely plugged into both the printer and the computer. Second, check that ......
Read more >How to Get Your Printer Online If It's Showing Offline
If you still haven't found a fix to get your printer online, let the Printer Troubleshooter help you out. It's a built-in tool...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jakubroztocil You’re right. I’ve also httpie installed with apt. I uninstall from apt and now it works. Thanks.
@ko2in you may have the
1.0.3
version installed using another method (e.g.,pip
orapt
). So if you uninstall it (and reinstall the newer snap, if needed), you should be good.