Page History
Sets the self URL for the current servicea specific HTTP request value.
Syntax
Code Block |
---|
Response = HTTP_Services('SetHTTPQueryString', HTTPValue) Response = HTTP_Services('SetHTTPPathInfo', HTTPValue) Response = HTTP_Services('SetHTTPContentType', HTTPValue) Response = HTTP_Services('SetHTTPContentLength', HTTPValue) Response = HTTP_Services('SetHTTPGatewayInterface', HTTPValue) Response = HTTP_Services('SetHTTPHTTPS', HTTPValue) Response = HTTP_Services('SetHTTPAccept', HTTPValue) Response = HTTP_Services('SetHTTPCookie', HTTPValue) Response = HTTP_Services('SetHTTPFrom', HTTPValue) Response = HTTP_Services('SetHTTPReferer', HTTPValue) Response = HTTP_Services('SetHTTPUserAgent', HTTPValue) Response = HTTP_Services('SetHTTPTranslated', HTTPValue) Response = HTTP_Services('SetSelfURL', SelfURL) |
Returns
N/A
Parameters
Parameter | Description |
---|---|
SelfURL | The self URL relevant to the current service. Required |
Remarks
'SetHTTPRemoteAddr', HTTPValue)
Response = HTTP_Services('SetHTTPRemoteHost', HTTPValue)
Response = HTTP_Services('SetHTTPRemoteIdent', HTTPValue)
Response = HTTP_Services('SetHTTPRemoteUser', HTTPValue)
Response = HTTP_Services('SetHTTPRequestMethod', HTTPValue)
Response = HTTP_Services('SetHTTPScriptName', HTTPValue)
Response = HTTP_Services('SetHTTPServerName', HTTPValue)
Response = HTTP_Services('SetHTTPServerPort', HTTPValue)
Response = HTTP_Services('SetHTTPServerProtocol', HTTPValue)
Response = HTTP_Services('SetHTTPServerSoftware', HTTPValue)
Response = HTTP_Services('SetHTTPServerURL', HTTPValue)
Response = HTTP_Services('SetHTTPNoURLDecode', HTTPValue)
Response = HTTP_Services('SetHTTPResponseIsBinary', HTTPValue)
Response = HTTP_Services('SetHTTPRegistrySettings', HTTPValue)
Response = HTTP_Services('GetHTTPOECGIVersion', HTTPValue)
Response = HTTP_Services('GetHTTPGetString', HTTPValue)
Response = HTTP_Services('GetHTTPPostString', HTTPValue)
Response = HTTP_Services('GetHTTPAdditionalValues', HTTPValue) |
Returns
The value associated with the specific GetHTTPxxxx attribute.
Parameters
N/A
Remarks
This is normally set within the SetOECGIRequest service and done directly using Memory_Services for efficiency, but some APIs might need to override an HTTP request valueThe self URL is the URL that identifies itself. It is typically returned in responses to serve as a self-referencing ID apart from other URLs that might be returned which direct the caller to other services.