FormData.set

Sets the given key to the given value if it exists, or appends it if it doesn't.

You probably want append instead.

class FormData
void
set
(
string key
,
const(void)[] value
,,
string filename
)

See Also

Meta

History

Added June 7, 2023 (dub v11.0)