tvl-depot/net
sterni 438db1be30 fix(net/crimp): correctly set content length for PUT requests
Since https://github.com/curl/curl/commit/9c845be2797e20475
(presumably), libcurl will overwrite our previously set request
method to POST if we set .post_field_size(…). The fix is to use
the proper option for PUT/upload, .in_filesize(…). While we're
at it, switch to using .upload(…) instead of the deprecated
.put(…) which should be the same for HTTP.

Change-Id: I393c1a02c70d5b99dff5901cd6e9d9434f68c15b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11132
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
2024-03-11 16:36:36 +00:00
..
alcoholic_jwt chore(net/alcoholic_jwt): bump cargo dependencies 2023-11-12 22:42:03 +00:00
crimp fix(net/crimp): correctly set content length for PUT requests 2024-03-11 16:36:36 +00:00
stomp_erl chore(net/stomp_erl): Remove erlang.mk 2019-12-21 03:05:51 +00:00