Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions specification/storage/Microsoft.BlobStorage/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -2134,14 +2134,13 @@ namespace Storage.Blob {
@put
@sharedRoute
@route("{blobName}?BlockBlob&fromUrl")
op putBlobFromUrl is StorageOperationNoBody<
op uploadBlobFromUrl is StorageOperationNoBody<
{
...MetadataHeaders;
...ContainerNamePathParameter;
...BlobPathParameter;
...TimeoutParameter;
...ContentMd5Parameter;
...ContentLengthParameter;
...BlobContentTypeParameter;
...BlobContentEncodingParameter;
...BlobContentLanguageParameter;
Expand All @@ -2167,6 +2166,11 @@ namespace Storage.Blob {
...SourceContentMd5Parameter;
...BlobTagsHeaderParameter;
...CopySourceParameter;

/** Required to be 0 for Put Blob from URL operation. */
@header("Content-Length")
contentLength: 0;

...CopySourceBlobPropertiesParameter;
...CopySourceAuthorizationParameter;
...CopySourceTagsParameter;
Expand All @@ -2183,7 +2187,7 @@ namespace Storage.Blob {
...LastModifiedResponseHeader;
...ContentMd5ResponseHeader;
...VersionIdResponseHeader;
...DateResponseHeader;
...DateResponseHeaderPrivate;
...RequestServerEncryptedResponseHeader;
...EncryptionKeySha256ResponseHeader;
...EncryptionScopeResponseHeader;
Expand Down
Loading