Space Station 13 - Modules - TypesVar Details

HTTP Response

Holder datum for HTTP responses

Created from calling [/datum/http_request/proc/into_response()] Contains vars about the result of the response

Vars

bodyThe body of the response from the server
errorRaw response if we errored
erroredHas the request errored
headersAssociative list of headers sent from the server
status_codeThe HTTP status code of the response

Var Details

body

The body of the response from the server

error

Raw response if we errored

errored

Has the request errored

headers

Associative list of headers sent from the server

status_code

The HTTP status code of the response