diff --git a/examples/hello_routed_world/src/framework/routed_application_helper.e b/examples/hello_routed_world/src/framework/routed_application_helper.e index 4d1c730a..92349a8b 100644 --- a/examples/hello_routed_world/src/framework/routed_application_helper.e +++ b/examples/hello_routed_world/src/framework/routed_application_helper.e @@ -60,6 +60,8 @@ feature -- Helper i := i + 1 end end + res.set_status_code ({HTTP_STATUS_CODE}.unsupported_media_type) + res.write_headers_string (h.string) if s /= Void then res.write_string ("Unsupported request content-type, Accept: " + s + "%N") end