GET Object

Description

Get object of QueryIO Server is used to fetch an object from server.

Requests

Syntax

Request Headers

The GET operation in QueryIO Server uses following request headers:

Header Name Description Type Defaults Constraints Required
Range

Returns the specified bytes of an object.

String None None No
If-Modified-Since

If the object has been modified after the specified time, it returns object.

String None None No
If-Unmodified-Since

If the object has not been modified after the specified time, it return object.

String None None No
If-Match

If the entity tag(ETag) of the object is same as the specified one, it returns the object.

String None None No
If-None-Match

If the entity tag(ETag) of the object is different from the specified one, it returns the object.

String None None No
fetch-metadata

Passing this argument as true will fetch metadata for files as response headers.

Value: true or false

Boolean - - No

Examples

Sample Request with the Range Header

The following request specifies the HTTP Range header to retrieve first 10 bytes of an object.

Sample Response

Sample Request with the If-Modified-Since Header

The following request specifies the HTTP If-Modified-Since header to retrieve an object if it is modified after the given time.

Sample Response

Sample Request with the If-Unmodified-Since Header

The following request specifies the HTTP If-Unmodified-Since header to retrieve an object if it is not modified after the given time.

Sample Response

Sample Request with the If-Match Header

The following request specifies the HTTP If-Match header to retrieve an object if its entity tag is same as specified.

Sample Response

Sample Request with the If-None-Match Header

The following request specifies the HTTP If-None-Match header to retrieve an object if its entity tag is not same as specified.

Sample Response



Copyright
  • Contact Us
  • Contact Us
  • 2018 QueryIO Corporation. All Rights Reserved.

    QueryIO, "Big Data Intelligence" and the QueryIO Logo are trademarks of QueryIO Corporation. Apache, Hadoop and HDFS are trademarks of The Apache Software Foundation.