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

HTTP::Request::Common::POST should accept content as a scalar ref [rt.cpan.org #58925]

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
perl
領域
networking

調査の方向性

まず HTTP::Request::Common::POST を見つけ、Content 引数がどのように処理されているかを調べます。既存の動作を確認し、大きな POST ボディに対してスカラー参照をどのように受け入れるべきかを判断します。POST が Content_Type を保持したまま参照先のコンテンツを受け取れるようになれば完了です。

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

説明

Migrated from rt.cpan.org#58925 (status was 'new')

Requestors:

From [email protected] on 2010-06-29 04:07:02:

If posting a large piece of content, it would be good to pass it as a
reference to the content. Currently one can not do this:
$useragent->post(
    $uri, Content => \ $blob_of_xml, Content_Type => 'text/xml'
);

The only way I can see is to manually construct an HTTP::Request object.
主要言語
Perl
スター
32
フォーク
63
平均マージ
5時間 14分
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

libwww-perl/HTTP-Message のほかの issue

libwww-perl/HTTP-Message の issue をすべて見る

似ている issue

Perl の issue をもっと見る

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

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