WordPress / WordPress/Requests

Retry option?

Open
#222 1 comment 4 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!

First, thanks a lot for your library! I really love how Requests work!

I saw that there's a timeout option (even if I couldn't find it in the docs). But what about a retry option? Because, when the remote host is not reachable for any reason, the request throws an exception and the page (or application) shows a nasty error. In my case, I don't want to show any error and the request must always run.

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 reviewing the existing timeout option and the exception path used when a remote host is unreachable. Then inspect the PHP HTTP and cURL-related request behavior to determine the intended retry semantics. Done criteria are not defined by the issue, so the retry policy and error-handling behavior need maintainer clarification.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.