SecureBlackbox 2020 macOS Edition

Questions / Feedback?

HTTPResponseParameters Type

This object is a container for HTTP server response details.

Remarks

An HTTP response is sent by the server when it has processed the client's request. The response consists of the status code (perhaps, the most annoying and widely known one is 404), the reason phrase, the response headers, and the body (the actual data) of the response.

Fields

contentLength
Int64

Indicates the length of the response content in bytes.

date
String

The date and time at which the response was generated, in server time, in UTC.

reasonPhrase
String

Contains the reason phrase (a human-readable comment) of the request processing status, which corresponds to, and complements, the staus code.

statusCode
Int32

The server-generated status code of the request processing status.

The code is a 3-digit integer where the first digit defines the class of the response:

1Informational
2Success
3Redirection
4Client Error
5Server Error

Common examples are 200 (page served succesfully), 404 (page not found), 302 (redirect), and 500 (internal server error).

Constructors

public init()

Creates a new HTTPResponseParameters object.

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