History log of /curl/tests/data/test1938 (Results 1 – 3 of 3)
Revision Date Author Comments
# 18f1cd7a 15-Jul-2024 Viktor Szakats

tests: sync feature names with `curl -V`

Some feature names used in tests had minor differences compared to
the well-known ones from `curl -V`. This patch syncs them to make test
res

tests: sync feature names with `curl -V`

Some feature names used in tests had minor differences compared to
the well-known ones from `curl -V`. This patch syncs them to make test
results easier to grok.

Closes #14183

show more ...


# 29c4aa00 13-Jan-2022 Matthias Gatto

aws_sigv4: fix header computation

Handle canonical headers and signed headers creation as explained here:
https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.htm

aws_sigv4: fix header computation

Handle canonical headers and signed headers creation as explained here:
https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html

The algo tells that signed and canonical must contain at last host and
x-amz-date.

So we check whatever thoses are present in the curl http headers list.
If they are, we use the one enter by curl user, otherwise we generate
them. then we to lower, and remove space from each http headers plus
host and x-amz-date, then sort them all by alphabetical order.

This patch also fix a bug with host header, which was ignoring the port.

Closes #7966

show more ...


# 8c6f1262 12-Oct-2021 Abhinav Singh

aws-sigv4: make signature work when post data is binary

User sets the post fields size for binary data. Hence, we should not be
using strlen on it.

Added test 1937 and 1938 to

aws-sigv4: make signature work when post data is binary

User sets the post fields size for binary data. Hence, we should not be
using strlen on it.

Added test 1937 and 1938 to verify.

Closes #7844

show more ...