WordPress / WordPress/Requests
Retry option?
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
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 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