-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Storage] full url should be used in BatchRequest multi-part API #7535
Comments
Are you suggesting use this.body += [
this.subRequestPrefix, // sub request constant prefix
`${HeaderConstants.CONTENT_ID}: ${this.operationCount}`, // sub request's content ID
"", // empty line after sub request's content ID
`${request.method.toString()} ${request.url} ${HTTP_VERSION_1_1}${HTTP_LINE_ENDING}` // sub request start line with method
].join(HTTP_LINE_ENDING); |
Yes |
Although we might not have a bug because we might not have the credential similar to what python has ( |
We don't have the same issue. According to the REST API doc: https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch
And we are correctly assembling the sub requests. For example, in this test case, 4a80d44
|
There's a customer reported issue for python where token credential would fail to work with batch request that doesn't have full url.
Azure/azure-sdk-for-python#9534
I believe we have same issue as we only use the path and query
The text was updated successfully, but these errors were encountered: