Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/koajs/koa
Expressive middleware for node.js using ES2017 async functions
https://github.com/koajs/koa
b88babe5ee9515fd0a68a9b6203e96b66a4ecb6a authored about 11 years ago by Jonathan Ong <[email protected]>
9407d7776cedae747c91ab9913fe110164b82e8b authored about 11 years ago by Jonathan Ong <[email protected]>
458c5ccfd2e1e700c66fad7fb73be364009eadcf authored about 11 years ago by Jonathan Ong <[email protected]>
cb682ed9048afc91e0f2d470cdaf1ed86924d4f2 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add keygrip support
27d1336af50e2634b3a526fcefde6ca6d1a5e5b7 authored about 11 years ago by TJ Holowaychuk <[email protected]>f3a6f6ae397ff0ab9dbbe750578f1945414b1aae authored about 11 years ago by TJ Holowaychuk <[email protected]>
f4b7f279eaa8568afbe527eb19ae2861183533c4 authored about 11 years ago by TJ Holowaychuk <[email protected]>
0362c8e457a8a5fc164e51e9f74916b5d4ce9e26 authored about 11 years ago by Jonathan Ong <[email protected]>
this.originalUrl && this.request.originalUrl
52307eeb72bb942d6fe1831a300596a733bb7eca authored about 11 years ago by TJ Holowaychuk <[email protected]>
just realized this since we removed the top closure. i'm not sure if
there's a better way to sol...
18c2cd1dacbd332a0fa7def61cc8d61bb2c59f50 authored about 11 years ago by Jonathan Ong <[email protected]>
d23ad1a024532a9df11f4ef23a959fdf212c37bd authored about 11 years ago by TJ Holowaychuk <[email protected]>
35a0c1d2bbf08ba75fc26b60ba79e555d9180fdd authored about 11 years ago by TJ Holowaychuk <[email protected]>
d9940c19314dfc33d7c3d96dbb75de6515024c1a authored about 11 years ago by TJ Holowaychuk <[email protected]>
db22fba86d797d87a1c000903430de0906a7d030 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Expose proto
64fa0b5c2a0cc4c56de8ebbf9ce7cfdb7b30ddf9 authored about 11 years ago by TJ Holowaychuk <[email protected]>d247e7835c515059b4b2aa0c35cdb90f8897d06e authored about 11 years ago by TJ Holowaychuk <[email protected]>
until we figure out a good way to return both weak and strong validators
e51e85e0fcc8765aa9753cd1e73cc05a7725ca05 authored about 11 years ago by Jonathan Ong <[email protected]>088fcfd3a6ea96699fb9821e57ba154b777bb15d authored about 11 years ago by TJ Holowaychuk <[email protected]>
response.etag and response.lastModified
12dda03b839331bf86878611296f4bac6cf51065 authored about 11 years ago by TJ Holowaychuk <[email protected]>2f74207e6c86b06037dd159899e3b0c3ac7b4954 authored about 11 years ago by Jonathan Ong <[email protected]>
0be144211189c0ebd2ca059d7f1ee2e72b2ac6b9 authored about 11 years ago by Jonathan Ong <[email protected]>
e6cd31ce2f4fc01435cdb7a846d0df578c0d20d0 authored about 11 years ago by Jonathan Ong <[email protected]>
5467f98558c13340a752c575fcc45db257387b6c authored about 11 years ago by Jonathan Ong <[email protected]>
need tests for this
93f1bce66fa801926c040189b8445eabb64cdf55 authored about 11 years ago by TJ Holowaychuk <[email protected]>Add/ctx request response
b1e5e6c6d49c239ecbe41c069d330991b8c5a493 authored about 11 years ago by TJ Holowaychuk <[email protected]>c699c75c52bc96ba6c3dfc0202a55b76832d7192 authored about 11 years ago by TJ Holowaychuk <[email protected]>
4cc5b30fb1f85a96b052daeea877d7a8e06e751a authored about 11 years ago by Jonathan Ong <[email protected]>
242ec58f9d9faa161500ef39f0aced75546f1b30 authored about 11 years ago by TJ Holowaychuk <[email protected]>
b659c7451096bd0e12c1abdb1950a36ed9a6abc5 authored about 11 years ago by TJ Holowaychuk <[email protected]>
d69b20b97ce31e0db7f384ef48b094d8def9891e authored about 11 years ago by TJ Holowaychuk <[email protected]>
91cdfefc4f8728feb6e2e0a46c19455381e72745 authored about 11 years ago by TJ Holowaychuk <[email protected]>
correct the link
a1d7140b7b1db5094470d925c4a16a9a48ac1ada authored about 11 years ago by Jonathan Ong <[email protected]>49bdd1d6edddf5cfe7e52f693edefa4db85f80db authored about 11 years ago by haoxin <[email protected]>
3e56d82184643f1a42a4bcff5ee5e013a25cb62e authored about 11 years ago by TJ Holowaychuk <[email protected]>
9ee6ada2d5c2f8d3faf3cee29a1b9a80f0e19ee4 authored about 11 years ago by TJ Holowaychuk <[email protected]>
specifically 3xx codes except for 304. closes #66
ee6dce83af1c80e0b3a48fd20e4ca04a9acd5ad4 authored about 11 years ago by Jonathan Ong <[email protected]>22c035bbea52cd40d4c3b28c3c08a42f062e9d95 authored about 11 years ago by TJ Holowaychuk <[email protected]>
replace content-negotiation accessors with 0-arity method calls
5bbe362294d7f1e292b52859c2df9e211f9467f7 authored about 11 years ago by TJ Holowaychuk <[email protected]>3dd172d032c4257912656b12cba494c2c4ec9646 authored about 11 years ago by TJ Holowaychuk <[email protected]>
less common than .auth which we removed as well but we can
add them back if it becomes a common ...
8b64343813153c46b35403c3766d125968ffc53e authored about 11 years ago by TJ Holowaychuk <[email protected]>
9778933e251afe64294b70fb7be7784b93b0c410 authored about 11 years ago by TJ Holowaychuk <[email protected]>
770183771e526e012a2b943414538e4226804e78 authored about 11 years ago by TJ Holowaychuk <[email protected]>
pass an optional `next` to app.callback()
1536d4df290ce38fe2449659677851bedcefbaba authored about 11 years ago by TJ Holowaychuk <[email protected]>836679c61020b5d775f33ea97ec7a8f749df7aa6 authored about 11 years ago by Jonathan Ong <[email protected]>
i'm not sure if this is incorrect. people should use `accepts()`
anyways.
pretty annoying to continuously update these. we'll start pining them
when you can actually use ...
accb1d6a611d18773e84f8b6e076dad546f3f91f authored about 11 years ago by Jonathan Ong <[email protected]>
01e0f838e66a7371cf1a6c936d2b26a4ce164f75 authored about 11 years ago by Jonathan Ong <[email protected]>
2a7b6d07bf4c0d5f3e138c3726965370e020688b authored about 11 years ago by Jonathan Ong <[email protected]>
611dec10f2c8295b866ebab55f18ac4368312951 authored about 11 years ago by Jonathan Ong <[email protected]>
1bcf9b413f499118ccb5bbd8f5cd9651b8a9c596 authored about 11 years ago by Jonathan Ong <[email protected]>
b35929dc3a385ac994fdd69a0340a9e67499dcc3 authored about 11 years ago by TJ Holowaychuk <[email protected]>
get away from promoting the extension of prototypes, aside
from it looking better there isnt rea...
8ee8abcc3268189c3f44abfb64d42903a87c4d5e authored about 11 years ago by TJ Holowaychuk <[email protected]>
399e2ad2551d803dd763a3204ea260080650f40a authored about 11 years ago by TJ Holowaychuk <[email protected]>
2d35cdff500bee091d4428c7b1bc463171490137 authored about 11 years ago by TJ Holowaychuk <[email protected]>
a9ae5630514dc610fac79233d6d267cfd84b8a25 authored about 11 years ago by TJ Holowaychuk <[email protected]>
debug context: notify if a property is being overwritten
3c3b81b9604051f8a13e2b74fddc4cb059ae74fc authored about 11 years ago by Jonathan Ong <[email protected]>f96164737756db25ab6924da8a3eeb5ff86b1029 authored about 11 years ago by Jonathan Ong <[email protected]>
for node
fbfeffa09010e77636cbcc9ad99a8bf561af8c7c authored about 11 years ago by Jonathan Ong <[email protected]>i like keeping things as similar to node as possible :)
6492f2ca4aab72e8f1cd18d15da21eebfb4d96bd authored about 11 years ago by Jonathan Ong <[email protected]>cb60fb872ac404b60d692fa0ce667074066ada08 authored about 11 years ago by Jonathan Ong <[email protected]>
18109777007b3197da807a41ebc875c1b7327c6b authored about 11 years ago by TJ Holowaychuk <[email protected]>
since it cant be anything else, but if you have middleware that transforms
the object to xml or ...
c4d194488c703597949bf0861b8e30ae36f66057 authored about 11 years ago by TJ Holowaychuk <[email protected]>
set length on body override
3b7a7b5047e209a810e92452bddbe6fb2c1969f1 authored about 11 years ago by TJ Holowaychuk <[email protected]>bind .onerror to context
ada1be13bc49a5d2692dcb302e554b559aebc3ec authored about 11 years ago by Jonathan Ong <[email protected]>onerror: check existence of error
881490299c9cd7c5b99eb703a884513f245976f3 authored about 11 years ago by Jonathan Ong <[email protected]>50d73e3709d9d46985bc3e0e52ebdadcc2e0d95c authored about 11 years ago by Jonathan Ong <[email protected]>
df367e074993b651e18e8bc175e6d4e9173c631e authored about 11 years ago by Jonathan Ong <[email protected]>
98a386a48557d1bbcab97849f2d206ef48115572 authored about 11 years ago by Jonathan Ong <[email protected]>
0e829c17ad20c7153d77f890d0e51d96e514285a authored about 11 years ago by Jonathan Ong <[email protected]>
4aa75a1164669a0be7dd7128ecd9ff5c5aeda487 authored about 11 years ago by Jonathan Ong <[email protected]>
1e340e388f6d760e4d7fd65c2bda7c6eb2f14c5e authored over 11 years ago by TJ Holowaychuk <[email protected]>
83fd83aaf89918390852bee7e0669adb5f1f5621 authored over 11 years ago by TJ Holowaychuk <[email protected]>
this prevents a bunch of redundant checks that middleware may need to
check response length, typ...
c5ecbd99acd0e141582ed2d2a0c779b9da111396 authored over 11 years ago by TJ Holowaychuk <[email protected]>
04f4d72692a5132d026debc79fe080e56c13aebe authored over 11 years ago by TJ Holowaychuk <[email protected]>
Fixed typo
1232b692a8959392901991b9b29a03ef0da4c84b authored over 11 years ago by TJ Holowaychuk <[email protected]>`ctx.accept` -> `ctx.accepts`
886a292a51a564ced248e32bd1a53d0ef2e09966 authored over 11 years ago by Chris Tarquini <[email protected]>167530a9e64f38c0de12fe1b5bdefa9722be6def authored over 11 years ago by TJ Holowaychuk <[email protected]>
so you can easily unwind the stack for 404s
7a268860407d723b36f75009a6dff50d3cd5adc9 authored over 11 years ago by TJ Holowaychuk <[email protected]>d7403552b953435731a2056d0d4c8bcd90981bb5 authored over 11 years ago by TJ Holowaychuk <[email protected]>
fc25b79b99752e361a784f3b6e60fadc40bcc79b authored over 11 years ago by TJ Holowaychuk <[email protected]>
meaning the application could respond with this message if it likes
6db24f9fac7cf11f2d5088f62ff2e472f76c7623 authored over 11 years ago by TJ Holowaychuk <[email protected]>091d5010cd4762eccd246141aa932cb88031c30b authored over 11 years ago by TJ Holowaychuk <[email protected]>
228c38cf3ea4fe5db7b98ebb902611a507aa9b84 authored over 11 years ago by TJ Holowaychuk <[email protected]>
28b5b85860abc403fd2bc0c01784853342a52653 authored over 11 years ago by TJ Holowaychuk <[email protected]>
92b741ac0a83d1608a5b4cd397c30a8f180cc86b authored over 11 years ago by TJ Holowaychuk <[email protected]>
cf54f7d7d5589b77e086d82d9ac36650cbe5f45b authored over 11 years ago by TJ Holowaychuk <[email protected]>
2fe83a4e3d0db83d78f6466d54f220a254fd4058 authored over 11 years ago by TJ Holowaychuk <[email protected]>
always has clientError now
02ae4f787d68eab7274af63161032407018a2832 authored over 11 years ago by TJ Holowaychuk <[email protected]>67b49cf82d1947163e083d89a262416ddd39f9fc authored over 11 years ago by TJ Holowaychuk <[email protected]>
42f5aa1e619e0c830f3cbae171b8f8a468233cdc authored over 11 years ago by TJ Holowaychuk <[email protected]>
6a51f73524f0f1cf5be8c2a85860d0074c7f9bf7 authored over 11 years ago by TJ Holowaychuk <[email protected]>
60576832df7b6456a8529dc82573e5816a1538aa authored over 11 years ago by TJ Holowaychuk <[email protected]>
2733c61d0008d50a877b6bc6ce7cf181d5ae4402 authored over 11 years ago by TJ Holowaychuk <[email protected]>
1680639232cd7ed22408ced240ff5fb9e3d3cca2 authored over 11 years ago by TJ Holowaychuk <[email protected]>