Ensures a URL path ends with a forward slash.
Source position: httpprotocol.pp line 161
function IncludeHTTPPathDelimiter( |
const AStr: string |
):string; |
AStr |
|
The path string to process. |
The path string with trailing slash.
Adds a trailing forward slash to a path string if it doesn't already have one. Useful for normalizing directory paths in URLs.
|
Removes trailing forward slash from a URL path. |