opened
TheLastProject
username_0
This seems to happen after setting a proxy. But if you call `--json` after this things start working again.

```
$ http-prompt httpbin.org
Version: 1.0.0
http://httpbin.org> --proxy=http:socks5://localhost:9050
http://httpbin.org> get
usage: http [--json] [--form] [--compress] [--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}] [--ignore-netrc]
            [--offline] [--proxy PROTOCOL:PROXY_URL] [--follow]
            [--max-redirects MAX_REDIRECTS] [--max-headers MAX_HEADERS]
            [--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: 'GET' is not a valid value

```
http: error: 'GET' is not a valid value
issue
created
gurka
username_1
I guess it is related to http-prompt not sending options correctly to httpie?

```
simon@simon-laptop:~$ http-prompt http://localhost
Version: 1.0.0
http://localhost> --auth 'simon:test'
http://localhost> get
usage: http [--json] [--form] [--compress] [--pretty {all,colors,format,none}] [--style STYLE] [--unsorted] [--sorted] [--format-options FORMAT_OPTIONS] [--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}] [--ignore-netrc] [--offline]
            [--proxy PROTOCOL:PROXY_URL] [--follow] [--max-redirects MAX_REDIRECTS] [--max-headers MAX_HEADERS] [--timeout SECONDS] [--check-status] [--path-as-is]
            [--verify VERIFY] [--ssl {ssl2.3,tls1,tls1.1,tls1.2}] [--ciphers CIPHERS] [--cert CERT] [--cert-key CERT_KEY] [--ignore-stdin] [--help] [--version] [--traceback]
            [--default-scheme DEFAULT_SCHEME] [--debug]
            [METHOD] URL [REQUEST_ITEM [REQUEST_ITEM ...]]
http: error: 'GET' is not a valid value

http://localhost> httpie
http --auth=simon:test http://localhost
```

Note that httpie wants the --auth option to be specified like `--auth simon:test`, i.i.e without equal character. Same thing with `--proxy`.
Or is this something that has changed in httpie recently? I'm using version 2.2.0.
comment
created
jakubroztocil
username_2
This should be fixed in `master`. You install & test it via the following command:

```bash
$ pip install -U https://github.com/httpie/http-prompt/archive/master.zip
```

v2.0.0 will be released soon.
comment
closed
jakubroztocil
username_2
issue
created
gurka
username_1
Hi,

Sorry for the late response. I've tested with master today and it works fine.
Thank you
comment