16 Commits

Author SHA1 Message Date
jomo
add4d1abac allow some latency 2015-05-24 17:22:47 +02:00
jomo
e1f1fe7c57 add toobusy 503 response 2015-05-24 13:34:49 +02:00
jomo
efd9c0ccee don't remove trailing slash for root path 2015-04-25 15:55:59 +02:00
jomo
79ab296f1f get rid of path.resolve
This doesn't handle '..' and other things that
path.resolve does, but if you're passing weird
things to a URL, your fault.
2015-04-25 15:49:47 +02:00
jomo
69f0ee23be use new response module for assets
unfortunately we can't use stream pipes because we need to generate
a hash of the content for the Etag.

I think proper caching (i.e. Etag) is very important
2015-04-22 00:06:10 +02:00
jomo
13169be774 use new response module for capes + more
- made sure that get_cape returns a status
- response.js returns 404 if body is empty
- 'X-Storage-Type: undefined' is no longer returned when status is `null`
2015-04-21 23:27:10 +02:00
jomo
8971e3c02b use new response module for renders + bug fixes 2015-04-21 00:57:14 +02:00
jomo
a947b02c87 use new response module for skins 2015-04-20 23:18:27 +02:00
jomo
0b0882e63d use new response module for index 2015-04-20 22:19:57 +02:00
jomo
8dc55442b1 remove debug log 2015-04-20 01:12:16 +02:00
jomo
d025a3004d remove always-empty first entry in req.url.path_list
rhyme pro 😎
2015-04-20 01:10:39 +02:00
jomo
3cbf73b0d7 create new response module & use it for avatars 2015-04-20 00:41:11 +02:00
jomo
fce58722c8 start work on #45 2015-04-12 19:53:34 +02:00
jomo
9d2fe0c454 some logging fixes 2015-04-06 03:32:13 +02:00
jomo
f6c4e62846 fix path in error message 2015-04-06 03:27:28 +02:00
jomo
b84a65fd8e restructure directories
www.js is our 'main' file, it's now at the project's root instead of server.js
routes, views, assets are now in lib, too
2015-04-06 03:06:38 +02:00