SecureBlackbox 2020 Delphi Edition

Questions / Feedback?

HTTPRequestParameters Type

Represents the headers of the HTTP request to make.

Remarks

If a header is not assigned but required for a successful request (such as Connection or Host), it will be generated automatically by the component.

Fields

Accept
String

Specifies the Accept header field of the HTTP request. The Accept field defines which media types are accepted in the response.

AcceptCharset
String

Specifies the Accept-Charset header field of the HTTP request. The Accept-Charset field specifies the character set which the client can understand.

AcceptLanguage
String

Specifies the Accept-Language header field of the HTTP request. The Accept-Language field specifies the language (and locale) which the client can understand.

AcceptRangeEnd
Int64

This property, in combination with AcceptRangeStart, defines the media-range of the HTTP request.

AcceptRangeStart
Int64

This property, in combination with AcceptRangeEnd, defines the media-range of the HTTP request.

Authorization
String

Specifies the Authorization header of the HTTP request. This header contains the credentials to authenticate a user with a server.

Connection
String

Specifies the value to pass to the Connection header field of HTTP request.

ContentLength
Int64

Specifies the size of the entity-body of the HTTP request. Leave this field set to 0 to make the component calculate it automatically.

ContentRangeEnd
Int64

Specifies the upper bound used in the Content-Range header of the HTTP request.

ContentRangeFullSize
Int64

Specifies the total length of the full entity-body of the HTTP request.

ContentRangeStart
Int64

Specifies the lower bound used in the Content-Range header of the HTTP request.

ContentType
String

The Content-Type header field of the HTTP request.

Cookie
String

This header is expected to be assigned with cookies previously received from the server and stored by the client.

CustomHeaders
String

Assign any custom HTTP headers to be passed to the server to this property.

Date
String

The date and time of the request.

From
String

Contains the From header field of the HTTP request. It specifies the e-mail address for the human user who controls the requesting user agent.

Host
String

This property contains the Host header field of the HTTP request. It specifies the host and port number of the resource being requested.

HTTPVersion
TsbxHTTPVersions

Specifies the version of HTTP protocol to use: 1.0 or 1.1.

chvHTTP10HTTP/1.0 (0)
chvHTTP11HTTP/1.1 (1)

IfMatch
String

Contains the If-Match request header field. This property makes the requested method conditional: when If-Match field is set, only the entities matching the included entity tags will be returned by the server.

IfModifiedSince
String

Contains the If-Modified-Since request header field. This property makes the requested method conditional: when If-Modified-Since field is set, only the modified entities will be returned by the server.

IfNoneMatch
String

Contains the If-None-Match request header field. This property makes the requested method conditional: when If-None-Match field is set, only the entities which doesn't match the included entity tags will be returned by the server.

IfUnmodifiedSince
String

Contains the If-Unmodified-Since request header field. This property makes the requested method conditional: when If-Unmodified-Since field is set, only the unmodified entities will be returned by the server.

Password
String

Assign this property with the user's password.

Referer
String

The Referer field of the HTTP request header specifies the address of the resource from which the Request-URI was obtained (the referrer).

UserAgent
String

The User-Agent field of the HTTP request provides information about the software that initiates the request.

Username
String

Assign this property with the user's login name.

Constructors

constructor Create();

Creates a new HTTPRequestParameters object.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Delphi Edition - Version 20.0 [Build 8166]