WordPress / WordPress/Requests

progress hook not support uploaded size.

Open
#340 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
3.6k
Forks
500
Avg merge
2d 21h
Merged PRs (30d)
5

Description

Hi,
I am using this package in WP-CLI.
progress.hook working successfully in GET Type Request but in PUT Request not Working.
there are 3 parameters in progress.hook for getting download size.
please added $uploaded_size parameter in this hook.

https://stackoverflow.com/questions/13958303/curl-download-progress-in-php/13958587#13958587

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the progress.hook entry point for PUT requests and compare it with the existing GET progress behavior. Done means the hook exposes an uploaded-size parameter for PUT uploads while preserving the current download-progress parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.