Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

#295 Add missing x-ms-blob-type header to createFile and createFileFromContents requests#296

Open
bimsonz wants to merge 4 commits into
Azure:masterfrom
bimsonz:295-missing-header
Open

#295 Add missing x-ms-blob-type header to createFile and createFileFromContents requests#296
bimsonz wants to merge 4 commits into
Azure:masterfrom
bimsonz:295-missing-header

Conversation

@bimsonz

@bimsonz bimsonz commented Jun 18, 2021

Copy link
Copy Markdown

This PR closes #295 to the best of my knowledge.

I've removed headers that make the request fail, these could be required and the configuration could be missing elsewhere but this was the success I had testing and fixing this with limited knowledge of the blob storage api.

I've also added the additional and seemingly missing x-ms-blob-type header. The value is fixed to BlockBlob as this felt most appropriate for this operation based on https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction#blobs

@ghost

ghost commented Jun 18, 2021

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@bimsonz

bimsonz commented Jun 18, 2021

Copy link
Copy Markdown
Author

@katmsft any chance you or one of your colleagues could have a look at this please?

@bimsonz

bimsonz commented Jun 22, 2021

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 296 in repo Azure/azure-storage-php

@bimsonz

bimsonz commented Jun 22, 2021

Copy link
Copy Markdown
Author

@XiaoningLiu any chance you or one of your colleagues could have a look at this please?

@katmsft

katmsft commented Sep 6, 2021

Copy link
Copy Markdown
Member

I think this is a usage error on file service instead of the blob service for block blob. Are you trying to use it for ADLS Gen 2?

@katmsft katmsft added the invalid label Sep 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing header 'x-ms-blob-type' when calling createFile and createFileFromContents

2 participants