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 been trying to build a multipart request which contains directives and data. For some reason, the letter "d" seems to cause problems. The example in the documentation seems to work, but for whatever strange reason, I can't build a request that contains that letter.
rlang::last_trace(drop=FALSE)
<error/rlang_error>
Error in `modify_list()`:
! All components of ... must be named
---
Backtrace:
▆
1. ├─request("https://example.com") %>% req_body_multipart(d = "some data")
2. └─httr2::req_body_multipart(., d = "some data")
3. └─httr2:::modify_body_data(.req$body$data, ...)
4. └─httr2:::modify_list(data, ...)
5. └─rlang::abort("All components of ... must be named")
The text was updated successfully, but these errors were encountered:
I've been trying to build a multipart request which contains directives and data. For some reason, the letter "d" seems to cause problems. The example in the documentation seems to work, but for whatever strange reason, I can't build a request that contains that letter.
I'm using
httr 0.2.3
Does work
Doesn't work
Doesn't work
Does work
Rlang trace:
The text was updated successfully, but these errors were encountered: