History log of /PHP-8.2/ext/curl/tests/curl_postfields_array.phpt (Results 1 – 3 of 3)
Revision Date Author Comments
# f7a53535 29-Apr-2022 Derick Rethans

Turn off "Expect" header in test

Without this explicitly set, curl might decide to add a
`Expect: 100-continue` header if it deems the request too large.
See also: https://gms.tf/whe

Turn off "Expect" header in test

Without this explicitly set, curl might decide to add a
`Expect: 100-continue` header if it deems the request too large.
See also: https://gms.tf/when-curl-sends-100-continue.html

show more ...


# 6828f9d1 07-Apr-2022 Christoph M. Becker

Fix newly introduced test

We need to tell the test runner that ext/curl is required to run the
test.


# 8093ed61 01-Apr-2022 Derick Rethans

Implemented FR #51634: Can't post multiple fields with the same name

This PR allows for multiple values with the same field name to be sent to an
HTTP server. This server can't be PHP, b

Implemented FR #51634: Can't post multiple fields with the same name

This PR allows for multiple values with the same field name to be sent to an
HTTP server. This server can't be PHP, because PHP's POST processing does not
allow for two the same field names. But sending multiple fields with the same
name is required for some operations by RFC 7578.

This PR allows you to attach an array of values to a field name, and each of
these will then be sent as its own distinct multipart/form-data field.

show more ...