[TYPO3-core] RFC #16011: Feature: getUrl function needs support for sending POST data

Marcus Krause marcus#exp2010 at t3sec.info
Mon Oct 25 11:28:35 CEST 2010


Hi!

One additional note:

The committed and incomplete implementation of POST allows to send POST
arguments as array(key-value-pairs) or string with joined arguments
("foo=bar").

There's a hidden logic that sets the content-type to
"multipart/form-data" when arguments are supplied as array.
IMHO, this contradicts the "Principle of Least Surprise" as arguments to
provide as array or string seem to be equal options.


Marcus.


More information about the TYPO3-team-core mailing list