D4Science D4Science Don't have a D4Science account? Create one Could not find what you are looking for? Contact us.

Response Data Type

Abstract Type
Properties
name data type constraints description
location string  
length number required int
entity object  
statusInfo StatusType  
stringHeaders map of array of string  
closed boolean required boolean
cookies map of NewCookie  
language string  
allowedMethods array of string  
metadata map of array of object  
status number required int
lastModified number  
links array of Link  
date number  
headers map of array of object  
mediaType MediaType  
entityTag EntityTag  

Example

{
  "location" : "...",
  "length" : 12345,
  "entity" : { },
  "statusInfo" : {
    "statusCode" : 12345,
    "reasonPhrase" : "...",
    "family" : "REDIRECTION"
  },
  "stringHeaders" : {
    "property1" : [ "...", "..." ],
    "property2" : [ "...", "..." ]
  },
  "closed" : true,
  "cookies" : {
    "property1" : {
      "httpOnly" : true,
      "secure" : true,
      "sameSite" : "STRICT",
      "maxAge" : 12345,
      "comment" : "...",
      "expiry" : 12345,
      "path" : "...",
      "name" : "...",
      "version" : 12345,
      "value" : "...",
      "domain" : "..."
    },
    "property2" : {
      "httpOnly" : true,
      "secure" : true,
      "sameSite" : "NONE",
      "maxAge" : 12345,
      "comment" : "...",
      "expiry" : 12345,
      "path" : "...",
      "name" : "...",
      "version" : 12345,
      "value" : "...",
      "domain" : "..."
    }
  },
  "language" : "...",
  "allowedMethods" : [ "...", "..." ],
  "metadata" : {
    "property1" : [ { }, { } ],
    "property2" : [ { }, { } ]
  },
  "status" : 12345,
  "lastModified" : 12345,
  "links" : [ {
    "rel" : "...",
    "uri" : "...",
    "rels" : [ "...", "..." ],
    "uriBuilder" : { },
    "type" : "...",
    "title" : "...",
    "params" : {
      "property1" : "...",
      "property2" : "..."
    }
  }, {
    "rel" : "...",
    "uri" : "...",
    "rels" : [ "...", "..." ],
    "uriBuilder" : { },
    "type" : "...",
    "title" : "...",
    "params" : {
      "property1" : "...",
      "property2" : "..."
    }
  } ],
  "date" : 12345,
  "headers" : {
    "property1" : [ { }, { } ],
    "property2" : [ { }, { } ]
  },
  "mediaType" : {
    "subtype" : "...",
    "type" : "...",
    "parameters" : {
      "property1" : "...",
      "property2" : "..."
    },
    "wildcardSubtype" : true,
    "wildcardType" : true
  },
  "entityTag" : {
    "weak" : true,
    "value" : "..."
  }
}