TFPHTTPClient
Original Reporter info from Mantis: BBaz @basile.b
-
Reporter name:
Original Reporter info from Mantis: BBaz @basile.b
- Reporter name:
Description:
As done by other similar components such as indy, synapse or libcurl.
Another option would be to add a default parameter to get:
function get(url: string, writeDefaultUserAgent: boolean = false): string;
function get(url: string, UserAgent: string = DefaultUserAgent): string;
or with another name another method identifier.
function getAs(url: string, writeDefaultUserAgent: boolean = true): string;
function getAs(url: string; UserAgent: string = DefaultUserAgent): string;
Mantis conversion info:
- Mantis ID: 30359
- Version: 3.0.0