Skip to content

To offer a chance to get response headers from once-off Download/Upload API call#129

Open
wangbinhui wants to merge 1 commit into
javaswift:masterfrom
wangbinhui:fetch_header
Open

To offer a chance to get response headers from once-off Download/Upload API call#129
wangbinhui wants to merge 1 commit into
javaswift:masterfrom
wangbinhui:fetch_header

Conversation

@wangbinhui
Copy link
Copy Markdown

In order to reduce the API call times between Joss and back-end storage service, Joss should offer the chance to get all response headers from Object Download and Upload operation. E.g. Client wants to download an Object and get its 'Content-Length' header as well. That's easy to do with with just one time call of Swift or Ceph Radosgw download API. However, Joss has to call Swift or Radosgw twice, one is GET and the other is HEAD. That's not so pretty in the case of high concurrency of requests.
The commit offers the chance to Get/Put object and retrieve some headers from one time API call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant