josephwoodward / GlobalExceptionHandlerDotNet

Exception handling as a convention in the ASP.NET Core request pipeline
MIT License
272 stars 32 forks source link

Allow content negotiation in .ResponseBody() #32

Open NickSevens opened 5 years ago

NickSevens commented 5 years ago

Would it be possible to enable content negotiation for .ResponseBody() as well? It seems only possible now through .Map<>().WithBody()

Thanks

josephwoodward commented 5 years ago

Ah yes, good catch - it should be in there too.