8/16/2023 0 Comments Python library typo generatorThe following accessors and alias Response equivalents: The following accessors and alias Request equivalents: Using this property is considered a hack and is only a convenience to those wishing to use traditional fn(req, res) functions and middleware within Koa. This may break intended functionality of Koa middleware and Koa itself. Note that using this is not supported by Koa. Use this if you want to write to the raw res object instead of letting Koa handle the response for you. To bypass Koa's built-in response handling, you may explicitly set ctx.respond = false. status propertyĭefaulting to 500 that will allow Koa to respond appropriately.Ĭtx.assert(, 401, 'User not found. Koa uses the cookies module where options are simply passed. If this is true, all cookies set during the same request with the same name (regardless of path or domain) are filtered out of the Set-Cookie header when setting this cookie.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |