Request ids and unsupported methods
Request ids and unsupported methods in the Configuration with dusk.config.ts guide.
security.requestIdcontrolsx-request-idon every answer, including the OPTIONS, 404 and 405 answers.true(default) sends the request id.falseomits the header. A header a route or the handler sets is kept. Indusk.config.tsthe value istrueorfalse; a function ((event) => string) is passed tocreateHandlerin the server entry, because the config file is written into the server bundle.security.methodNotAllowedchooses the 405 answer."json"(default) is the error body."empty"is an empty 405 with no body and no content type.Allowis sent in both shapes.