curl/tests/data/test1308
Patrick Monnerat 038c46f61f
configure, cmake, lib: more form api deprecation
Introduce a --enable-form-api configure option to control its inclusion
in builds. The condition name defined for it is CURL_DISABLE_FORM_API.

Form api code is dependent of MIME: configure and CMake handle this
dependency automatically: CMake by making it a dependent option
explicitly, configure by inheriting the MIME value by default and
rejecting explicit incompatible values.

"form-api" is now a new hidden test feature.

Update libcurl modules to respect this option and adjust tests
accordingly.

Closes #9621
2023-07-31 08:31:38 +02:00

33 lines
389 B
Plaintext

<testcase>
<info>
<keywords>
unittest
curl_formadd
curl_formget
FORM
</keywords>
</info>
#
# Client-side
<client>
<features>
unittest
http
form-api
</features>
<server>
none
</server>
<name>
formpost unit tests
</name>
<command>
%LOGDIR/test-%TESTNUMBER
</command>
<file name="%LOGDIR/test-%TESTNUMBER">
Piece of the file that is to uploaded as a formpost
</file>
</client>
</testcase>