SuccessEventArgs not returning custom headers

Hi I´m trying to return custom headers but they are not coming over with the SuccessEventArgs. 

I think I´m doing this correctly but I might be missing something. 

Blazor


Controller that gets hit and returns only changes to ContentType


The OnSuccess that doesn´t contain the header


The header is in the response but not in SuccessEventArgs

image.png


You can try out this code here if you like  RolesDemo/BigFileUploadControllerc.cs at 2e1c3642afc84cdd986226c0219e35cc26c43da9 · sturlath/RolesDemo (github.com)

Just set Blazor and Host as starting projects and F5 and try it out



4 Replies 1 reply marked as answer

Sturla Þorvaldsson December 24, 2021 08:15 AM UTC


Marked as answer

DR Deepak Ramakrishnan Syncfusion Team December 27, 2021 08:27 AM UTC

Hi Sturla, 
 
Greetings from Syncfusion support. 
 
Thanks for sharing us you solution . Kindly get back to us if you need any further assistance . 
 
 
Thanks, 
Deepak R. 



Sturla Þorvaldsson replied to Sturla Þorvaldsson December 27, 2021 01:27 PM UTC



RP Ranjani Prabakaran Syncfusion Team December 28, 2021 06:11 AM UTC

Sturla, 

We appreciate your effort to share the solution on our forum page. Please let us know if you need any assistance in the future. 

Regards, 

Ranjani 


Loader.
Up arrow icon