You've already forked libart-seafire-resources
Change default response status code
All checks were successful
on-push / build-and-test (push) Successful in 57s
All checks were successful
on-push / build-and-test (push) Successful in 57s
This commit is contained in:
@@ -37,7 +37,7 @@ namespace art::seafire::resources
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!input_representation_type::can_accept_input(*content_type)) {
|
if (!input_representation_type::can_accept_input(*content_type)) {
|
||||||
res.send(400);
|
res.send(415);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user