Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Pasting some curl requests in the URL field mostly fails

オープン
#1,587 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
cli

調査の方向性

URLフィールドで使用されている cURL のインポートパスから調査を始め、再現用として提供されている Microsoft のトークンリクエストを使います。他のパラメーターはインポートされるのに、末尾のバックスラッシュによって URL の検出が妨げられる理由を確認します。貼り付けたリクエストがバックスラッシュを手動で削除しなくても URL とパラメーターをインポートでき、この例の回帰テストが追加されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug new

I think half of the cURL examples out there whether from API documentation or whatever curl requests ChatGPT spits out have a backslash at the end of the endpoint URL

Example
curl -X POST https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token \ -d "client_id={client_id}" \ -d "scope=https://ads.microsoft.com/.default" \ -d "client_secret={client_secret}" \ -d "grant_type=client_credentials"

Whenever I copy this curl request and paste it in the URL bar in HTTPie, it will not detect the URL, but happily detects the rest of the parameters. Good thing is when I paste the cURL in the HTTPie URL field, it gives me an edit button where I can/have to remove the backslash () from the curl request and it will import nicely.

HTTPie_R8AY9T85qk

主要言語
Python
スター
38.6k
フォーク
4k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

httpie/cli のほかの issue

httpie/cli の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。