Function formEncode
Returns the form encoded version of a given string.
Form encoding is the same as normal URL encoding, except that spaces are replaced by plus characters.
Note that newlines should always be represented as \r\n sequences according to the HTTP standard.
Prototype
string formEncode(
string str,
string allowed_chars = null
) @safe;
Authors
Jan Krüger, Sönke Ludwig
Copyright
© 2012-2015 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.