Go to main content
Oracle® ZFS Storage Appliance RESTful API Guide, Release OS8.7.0

Exit Print View

Updated: July 2017
 
 

HTTP Response Headers

All appliance service commands that send data use the JSON data format and require the following header values:

Accept:  application/json
Content-Type:  application/json

Response Headers include the following information:

Date: Tue, 23 Jul 2013 13:07:37 GMT X-Zfs-Sa-Appliance-Api: 1.0 Content-Type: application/json Content-Length: 357

For list results, the content length may not be known before data is sent back. If the content length is not supplied, the client must read the response body until EOF to read all the returned data.