Decodes HTTP URL-encoded strings.
Source position: httpprotocol.pp line 157
function HTTPDecode( |
const AStr: string |
):string; |
const AStr: string; |
aPlusAsSpaces: Boolean |
):string; |
AStr |
|
The URL-encoded string to decode. |
The decoded string.
AStr |
|
The URL-encoded string to decode. |
aPlusAsSpaces |
|
Whether to convert plus signs to spaces. |
Decodes percent-encoded characters (%XX) and optionally converts plus signs to spaces. The overloaded version without aPlusAsSpaces defaults to treating plus signs as spaces.
|
Encodes strings for HTTP URL transmission. |