Adapt test excepted stderr to take libcurl multipart boundary size change in 8.4.0+.

See https://github.com/curl/curl/pull/11838/files where `define MIME_RAND_BOUNDARY_CHARS` has been changed from 16 to 22.
The new pattern on 'Content-Lenght' works for previsous and newer libcurl version.
This commit is contained in:
jcamiel 2023-10-12 22:57:37 +02:00
parent d58ecce62b
commit 9d5b611b9e
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC
3 changed files with 4 additions and 4 deletions

4
Cargo.lock generated
View File

@ -313,9 +313,9 @@ dependencies = [
[[package]]
name = "curl-sys"
version = "0.4.67+curl-8.3.0"
version = "0.4.68+curl-8.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3cc35d066510b197a0f72de863736641539957628c8a42e70e27c66849e77c34"
checksum = "b4a0d18d88360e374b16b2273c832b5e57258ffc1d4aa4f96b108e0738d5752f"
dependencies = [
"cc",
"libc",

View File

@ -264,7 +264,7 @@
> Host: localhost:8000
> Accept: */*
> User-Agent: hurl/~~~
> Content-Length: 26572
> Content-Length: 265~~
> Content-Type: multipart/form-data; boundary=~~~~~
>
* Request body:

View File

@ -23,7 +23,7 @@ chrono = { version = "0.4.31", default-features = false, features = ["clock"] }
clap = { version = "4.4.6", features = ["cargo", "string", "wrap_help"] }
colored = "2.0.4"
curl = "0.4.44"
curl-sys = "0.4.67"
curl-sys = "0.4.68"
encoding = "0.2.33"
float-cmp = "0.9.0"
glob = "0.3.1"