allanwalpy / 01-19-vacancy-task-1

some simple task implementation, nothing to see
MIT License
0 stars 0 forks source link

consumes attribute odd behavior #11

Closed allanwalpy closed 5 years ago

allanwalpy commented 5 years ago

If Consumes attribute applied on Controller which have get - all requests will fail due to 415 Unsupported Media Type; Workaround - define Consumes for every action with body result (and so disable for no body actions);

see issue at aspnetcore repository; see patch fixing it in upcoming 2.2.2 update;

until release stick with workaround above;

allanwalpy commented 5 years ago

not a critical bug, acceptable workaround available

allanwalpy commented 5 years ago

asp.net core v2.2.2 is out :tada: