Martin Iwanowski

Results 5 comments of Martin Iwanowski

This isn't a bug. `ctx.attachment()` (delegated to `ctx.response.attachment`) only correctly sets Content-Disposition headerfield. You actually needs to provide the file you want the client to download yourself. Try assigning a...

I have an equivalent issue to what's described here but not when typing, but instead when tabbing back to Sublime from other app - it's frozen for a while, ~1-2...

FYI You could quite easily add this yourself as well by extending Koa. ```js class MyKoa extends Koa { listenSecure(...args) { return http2.createSecureServer(...) } } ```

I support this, especially if its additive only (i.e. no breaking)

Encapsulating state for middleware can be useful, but also a foot gun IMHO. This can easily be achievable in user space or as a plugin. and there's nothing prohibiting you...