You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found that RETRY seems to hang when the verb is "HEAD". (Other verbs work just fine.)
This behavior is consistent for me across two platforms (Amazon Linux and Mac OS X) using three different libcurl variants.
It appears to be a connection-closing issue, and I've observed it with multiple distinct HTTP servers/endpoints.
Can anyone else verify that they see this, too?
httr::GET("https://httpbin.org")
#> Response [https://httpbin.org/]#> Date: 2017-11-21 21:52#> Status: 200#> Content-Type: text/html; charset=utf-8#> Size: 13 kB#> <!DOCTYPE html>#> <html>#> ...httr::RETRY("GET", "https://httpbin.org")
#> Response [https://httpbin.org/]#> Date: 2017-11-21 21:52#> Status: 200#> Content-Type: text/html; charset=utf-8#> Size: 13 kB#> <!DOCTYPE html>#> ...httr::HEAD("https://httpbin.org")
#> Response [https://httpbin.org/]#> Date: 2017-11-21 21:52#> Status: 200#> Content-Type: text/html; charset=utf-8#> <EMPTY BODY>httr::RETRY("HEAD", "https://httpbin.org")
#> Error in curl::curl_fetch_memory(url, handle = handle): transfer closed with 13011 bytes remaining to read#> Request failed [ERROR]. Retrying in 1 seconds...#> Error in curl::curl_fetch_memory(url, handle = handle): transfer closed with 13011 bytes remaining to read#> Request failed [ERROR]. Retrying in 3 seconds...#> Error in curl::curl_fetch_memory(url, handle = handle): transfer closed with 13011 bytes remaining to read
I've found that
RETRY
seems to hang when the verb is"HEAD"
. (Other verbs work just fine.)This behavior is consistent for me across two platforms (Amazon Linux and Mac OS X) using three different libcurl variants.
It appears to be a connection-closing issue, and I've observed it with multiple distinct HTTP servers/endpoints.
Can anyone else verify that they see this, too?
Session info
The text was updated successfully, but these errors were encountered: