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
cookies map of NewCookie  
headers map of array of object  
language string  
location string  
mediaType MediaType  
allowedMethods array of string  
lastModified number  
stringHeaders map of array of string  
statusInfo StatusType  
date number  
links array of Link  
metadata map of array of object  
closed boolean required boolean
length number required int
entity object  
entityTag EntityTag  
status number required int

Example

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