libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [libcloud] c-w opened a new pull request #1553: Respect common HTTP headers when uploading Azure Storage blob via stream
Date Mon, 08 Feb 2021 03:28:18 GMT

c-w opened a new pull request #1553:
URL: https://github.com/apache/libcloud/pull/1553


   ## Respect common HTTP headers when uploading Azure Storage blob via stream
   
   ### Description
   
   Resolves https://github.com/apache/libcloud/issues/1550
   
   As per the [documentation](https://docs.microsoft.com/en-us/rest/api/storageservices/put-block-list#request-headers),
when uploading an object via stream to Azure Storage, common HTTP headers (e.g. `Content-Encoding`)
must be provided via an Azure-specific name (e.g. `x-ms-blob-content-encoding`). The driver
was previously ignoring user-provided headers when uploading objects via stream and wasn't
adapting the header names to their Azure-specific equivalent, which are both issues fixed
by this pull request.
   
   ### Status
   
   - done, ready for review
   
   ### Checklist (tick everything that applies)
   
   - [ ] [Code linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
   - [x] Documentation **n/a: bugfix**
   - [x] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html) **[libcloud-tests
passed](https://clewolff.visualstudio.com/libcloud-tests/_build/results?buildId=1591&view=logs&j=1a900d4b-8046-5265-156b-217ea8bd79e8)**
   - [x] [ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
**[committer](http://people.apache.org/phonebook.html?uid=clewolff)**


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message