libwww-perl / libwww-perl/HTTP-Message
HTTP::Request::Common::POST should accept content as a scalar ref [rt.cpan.org #58925]
Open
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 32
- Forks
- 63
- Avg merge
- 5h 14m
- Merged PRs (30d)
- 1
Description
Migrated from rt.cpan.org#58925 (status was 'new')
Requestors:
- justincase@yopmail.com
From justincase@yopmail.com 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating HTTP::Request::Common::POST and inspect how its Content argument is handled. Verify the existing behavior and determine how scalar references should be accepted for large POST bodies; done means POST can receive the referenced content with Content_Type preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100