|
<PdfViewerAjaxRequestSettings AjaxHeaders="Headers"></PdfViewerAjaxRequestSettings>
@code{
SfPdfViewer PdfViewer;
public List<AjaxHeader> Headers = new List<AjaxHeader>() { new AjaxHeader { HeaderName = "Authorization", HeaderValue = "Bearer 64565dfgfdsjweiuvbiuyhiueygf" } };
} |
This does not work on latest syncfusion version 19.4.0.49
|
Client Blazor |
|
|
Blazor Sever |
|
Hi - this doesn't work on
Nuget release 20.1.0.50 either
I set the headers as you specify, but I get the following error:
System.InvalidOperationException: Misused header name, 'Authorization'. Make sure request headers are used with HttpRequestMessage, response headers with HttpResponseMessage, and content headers with HttpContent objects.
Hi Ben,
We were able to reproduce the reported issue with the provided details. We will analyze further on this and update you with more details on April 25, 2022.
Regards,
Vasugi.
Hi Ben,
We have validated the issue “Ajax request settings to add header name throws an exception” and logged it as a defect. The fix for the issue will be available in our upcoming weekly NuGet release on May 11, 2022. You can track the status of the issue through the following link.
Regards,
Shamini
Hi Ben,
Due to the 2022 Vol 1 SP release, we don’t have a weekly release for this week. However, the fix will be included in our SP release which is expected to be rolled out on May 12, 2022. We will let you know once the package is available.
Regards,
Vasugi
Hi Ben,
Sorry for the inconvenience. The fix will be included in our SP release which is expected to be rolled out on May 13, 2022. We will let you know once the package is available.
Regards,
Vasugi
Hi Ben,
We are glad to announce that our Essential Studio 2022 Volume 1 Service Pack Release V20.1.0.55 is rolled out and is available for download under the following link.
We have fixed the reported issue and it was included in our volume 1 SP release V20.1.0.55. Kindly upgrade to that version.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Vasugi