Wondering if anyone has experience using ModernHttpClient with Azure REST services. My code works fine with the .Net HttpClient. With ModernHttpClient I can create a container, but get the following error when trying to upload a blob:
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
Does ModernHttpClient change the headers in any way that would cause a failure to validate? Would it cause the HttpContent to appear to be a different size than reported by (byte[]) blobcontent.length
? TIA!
Answers
Below are the Response Headers from a successful .Net and unsuccessful ModernHttpClient attempt to upload a blob:
.Net
Modern
Below are the Response Headers from a successful .Net and unsuccessful ModernHttpClient attempt to upload a blob:
.Net
Modern
Below are the Response Headers from a successful .Net and unsuccessful ModernHttpClient attempt to upload a blob:
.Net
Modern
Below are the Response Headers from a successful .Net and unsuccessful ModernHttpClient attempt to upload a blob:
.Net
Modern