httr2
httr2 copied to clipboard
Dry run adds space if url contains colon
library(httr2)
req_dry_run(request("https://example.com/test:1:2:3"))
#> GET /test: 1:2:3 HTTP/1.1
#> Host: example.com
#> User-Agent: httr2/1.0.5.9000 r-curl/5.2.2 libcurl/8.7.1
#> Accept: */*
#> Accept-Encoding: gzip
Created on 2024-10-18 with reprex v2.1.0