Skip to content

Commit 0ac59f7

Browse files
committed
#401 add user-agent to sparql queries
1 parent 782c782 commit 0ac59f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/geoflow_vocabulary.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ geoflow_skos_vocabulary <- R6Class("geoflow_skos_vocabulary",
8989
body = req_body,
9090
httr::add_headers(
9191
"Content-Type" = "application/x-www-form-urlencoded",
92+
"User-Agent" = paste("geoflow", packageVersion("geoflow"), sep = "_"),
9293
"Accept" = mimetype
9394
)
9495
))

0 commit comments

Comments
 (0)