Using METHOD and --verify causes URL not to be recognized
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
報告されたコマンド https GET --verify=no pie.dev/get を再現し、この issue のデバッグ出力と比較してください。http/https CLI 引数の解析エントリーポイントから始め、METHOD、--verify、URL が一緒に受け付けられることを確認してください。コマンドがリクエストまで到達し、URL が認識されない引数として報告されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Checklist
- I've searched for similar issues.
- I'm using the latest version of HTTPie.
Minimal reproduction code and steps
https GET --verify=no pie.dev/get
Current result
usage:
http [METHOD] URL [REQUEST_ITEM ...]
error:
unrecognized arguments: pie.dev/get
for more information:
run 'http --help' or visit https://httpie.io/docs/cli
Expected result
Make the request to the URL
Debug output
Please re-run the command with --debug, then copy the entire command & output and paste both below:
$ https --debug GET --verify=no pie.dev/get
HTTPie 3.2.3
Requests 2.32.3
Pygments 2.18.0
Python 3.12.4 (main, Jun 7 2024, 06:33:07) [GCC 14.1.1 20240522]
/usr/bin/python
Linux 6.6.42-1-lts
<Environment {'apply_warnings_filter': <function Environment.apply_warnings_filter at 0x7fab523e4ea0>,
'args': Namespace(),
'as_silent': <function Environment.as_silent at 0x7fab523e4d60>,
'colors': 256,
'config': {'default_options': []},
'config_dir': PosixPath('/home/kuba/.config/httpie'),
'devnull': <property object at 0x7fab523e8360>,
'is_windows': False,
'log_error': <function Environment.log_error at 0x7fab523e4e00>,
'program_name': 'https',
'quiet': 0,
'rich_console': <functools.cached_property object at 0x7fab527bb800>,
'rich_error_console': <functools.cached_property object at 0x7fab5238ff50>,
'show_displays': True,
'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}>
<PluginManager {'adapters': [],
'auth': [<class 'httpie.plugins.builtin.BasicAuthPlugin'>,
<class 'httpie.plugins.builtin.DigestAuthPlugin'>,
<class 'httpie.plugins.builtin.BearerAuthPlugin'>],
'converters': [],
'formatters': [<class 'httpie.output.formatters.headers.HeadersFormatter'>,
<class 'httpie.output.formatters.json.JSONFormatter'>,
<class 'httpie.output.formatters.xml.XMLFormatter'>,
<class 'httpie.output.formatters.colors.ColorFormatter'>]}>
usage:
http [METHOD] URL [REQUEST_ITEM ...]
error:
unrecognized arguments: pie.dev/get
for more information:
run 'http --help' or visit https://httpie.io/docs/cli
- 主要言語
- Python
- スター
- 38.6k
- フォーク
- 4k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
httpie/cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
new
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug new
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
openvinotoolkit/openvino_notebooks#3665 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
docs
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
benchmark-gap
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信