Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

IncludeHTTPPathDelimiter

Ensures path ends with forward slash

Declaration

Source position: httpdefs.pp line 760

function IncludeHTTPPathDelimiter(

  const AStr: string

):string;

Arguments

AStr

  

HTTP path string to add delimiter to

Function result

Path string with trailing slash delimiter

Description

IncludeHTTPPathDelimiter appends a forward slash ('/') to the end of a path string if it doesn't already end with one, ensuring proper HTTP path formatting.


Documentation generated on: Jan 16 2026