-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTPie feature parity checklist #4
Comments
httpie uses the value of environment variable |
It doesn't seem to be mentioned in the docs but it is, in fact, something that HTTPie supports. The library we use for parsing command-line arguments supports falling back to an env variable so this should be an easy one to implement. Would like to create a PR for it? Edit: this has been implemented in #146 |
requests checks both |
So this means we can no longer use the nice API that structopt offers. If that is the case, we should manually check for those env variables inside the |
Prepare a file with value for query parameterFirst we create a file with a value to use:
Use
|
Thanks, @vlcinsky. I have now included this in the feature compatibility checklist. For reference, httpie/cli#1225 is the PR that added support for reading header and query string values from a file. |
@ducaale great. Just a note: |
=@
and:=@
as seperators in request data.==@
and:@
for reading query string and header values from a file (#288)key@file_name;type=file_type
.--response-charset
and--response-mime
flags. (#184)--raw
flag (#202)HEAD
HTTP method.--all
flag for printing intermediary requests/responses. (#137)--history-print
. (#137)--timeout
flag.--path-as-is
flag--compress
flag.--chunked
flag.-vv
/--meta
flags. (#240)The text was updated successfully, but these errors were encountered: