Skip to content

Commit

Permalink
docs: mention DELETE is no-retry be default (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lmmmmmm-bb authored May 15, 2023
1 parent 9a5cd33 commit d4dc638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ await ofetch(...).catch((error) => error.data)

## ✔️ Auto Retry

`ofetch` Automatically retries the request if an error happens. Default is `1` (except for `POST`, `PUT` and `PATCH` methods that is `0`)
`ofetch` Automatically retries the request if an error happens. Default is `1` (except for `POST`, `PUT`, `PATCH` and `DELETE` methods that is `0`)

```ts
await ofetch('http://google.com/404', {
Expand Down

0 comments on commit d4dc638

Please sign in to comment.