tvl-depot/net/crimp
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
..
src fix(net/crimp): correctly set content length for PUT requests 2024-03-11 16:36:36 +00:00
.gitignore chore(crimp): Prepare for depot merge 2019-12-21 01:27:49 +00:00
Cargo.lock chore(crimp): bump cargo dependencies 2022-05-16 18:06:54 +00:00
Cargo.toml chore(crimp): prepare release of v4087 2022-05-16 18:15:18 +00:00
default.nix chore(3p/sources): Bump channels & overlays 2022-09-28 08:02:31 +00:00
LICENSE chore(crimp): Prepare for depot merge 2019-12-21 01:27:49 +00:00
README.md docs(crimp): update README with depot information 2022-05-16 18:06:54 +00:00

crimp

Crimp is an HTTP client interface on top of the Rust bindings to cURL.

The documentation for this crate is primarily in the module documentation


This project is developed in the TVL monorepo. To work on it, you can either use a local clone of the entire repository or clone just the crimp subtree:

https://code.tvl.fyi/depot.git:/net/crimp.git

Please follow the TVL contribution guidelines.