WordPress / WordPress/Requests
Add ability to pass in a file pointer
Open
Nobody has claimed this yet.
Component: Core
Focus: File handling
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 500
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 5
Description
How to post file data / upload file using requests? I can;t find any documentation on this.
Like in HttpRequest, we have a method called addPostFile()
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 reviewing the existing request body and file-upload handling, then compare the desired behavior with HttpRequest's addPostFile() method. Done means the library accepts a file pointer for uploads and documents how to post file data; the issue does not name a specific file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100