Skip to content

Commit

Permalink
don`t retry on 409 status
Browse files Browse the repository at this point in the history
  • Loading branch information
csillasch committed Nov 14, 2024
1 parent 3898526 commit 21f2424
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/phs_GET.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ phs_GET <- function(action, query, verbose = FALSE) {
response <- httr::RETRY(
verb = "GET",
url = url,
terminate_on = c(409),
user_agent = httr::user_agent(
"https://github.com/Public-Health-Scotland/phsmethods"
)
Expand Down

0 comments on commit 21f2424

Please sign in to comment.