Daniel Tschinder
41964580a8
deps: send@0.16.0
...
closes #3431
closes #3435
2017-09-28 12:39:05 -04:00
Douglas Christopher Wilson
ddeb71301c
tests: add maxAge option tests for res.sendFile
2017-09-28 12:32:27 -04:00
Greg Guthe
7154014785
Add "escape json" setting for res.json and res.jsonp
...
closes #3268
closes #3269
2017-09-28 12:03:42 -04:00
Aaron Clover
a24fd0ca6c
Add options to res.download
...
closes #3327
closes #3370
2017-09-28 11:11:08 -04:00
Hrvoje Šimić
2df1ad26a5
Improve error messages when non-function provided as middleware
...
closes #3426
2017-09-28 09:20:37 -04:00
Douglas Christopher Wilson
12c3712468
Use safe-buffer for improved Buffer API
2017-09-28 08:26:39 -04:00
Douglas Christopher Wilson
80f1ea9bec
Improve error message when autoloading invalid view engine
...
fixes #3403
2017-09-25 21:11:33 -04:00
Douglas Christopher Wilson
19c8d64855
Merge tag '4.15.5'
2017-09-25 01:07:08 -04:00
Kunal Pathak
19a2eeb476
tests: check render error without engine-specific message
...
closes #3251
2017-09-21 22:45:26 -04:00
Mike Tunnicliffe
71395f5933
Remove res.redirect(url, status) signature
...
closes #2941
2017-08-07 20:17:52 -04:00
Mike Tunnicliffe
e3bd14dcca
Remove res.send(status, body) signature
...
closes #2942
2017-08-07 20:06:44 -04:00
Douglas Christopher Wilson
c319fe260a
Merge tag '4.15.4'
2017-08-07 19:33:00 -04:00
Douglas Christopher Wilson
e0066227f7
lint: remove all unused varaibles
2017-08-06 00:19:32 -04:00
Douglas Christopher Wilson
56e90e3c72
lint: add eslint rules that cover editorconfig
2017-08-05 23:37:39 -04:00
Daniel Walasek
713d2aed93
tests: fix incorrect should usage
...
closes #3387
2017-08-05 20:10:35 -04:00
Owen Luke
5e16f400f1
examples: use 1-based visitor count in cookie-sessions
...
closes #3312
2017-07-26 13:05:41 -04:00
Owen Luke
fde8f647d3
examples: fix route in params example
...
closes #3310
2017-05-17 21:14:47 -04:00
Oz Michaeli
ae0b630ac7
Fix error when res.set cannot add charset to Content-Type
...
fixes #3303
closes #3305
closes #3307
2017-05-14 23:58:25 -04:00
Colin Richardson
a13938eed7
tests: add tests for res.location('back')
...
closes #3292
closes #3293
2017-05-07 19:26:33 -04:00
Douglas Christopher Wilson
e5dbb0cb4e
Merge tag '4.15.2'
2017-03-06 08:40:02 -05:00
chainhelen
eece3850bc
tests: use path.join instead of concatenation
...
closes #3236
2017-03-05 23:08:47 -05:00
Douglas Christopher Wilson
dc8acc8676
tests: use supertest expect for simple assertions
2017-03-05 00:04:47 -05:00
Wes
06f423d4f5
Remove Express 3.x middleware error stubs
...
closes #3217
2017-03-01 18:29:48 -05:00
Douglas Christopher Wilson
501e24e0a9
Merge tag '4.15.0'
2017-03-01 18:17:04 -05:00
Blake Embrey
9722202df9
Add next("router") to exit from router
...
closes #2241
closes #2371
2017-02-26 14:38:05 -05:00
Douglas Christopher Wilson
51f52901eb
Fix case where router.use skipped requests routes did not
...
fixes #3037
2017-02-26 13:59:47 -05:00
Douglas Christopher Wilson
1f71fae23b
tests: add lone "*" route tests
2017-02-26 13:21:18 -05:00
Douglas Christopher Wilson
668f545fd4
Skip routing when req.url is not set
2017-02-22 23:42:57 -05:00
Wes
034165caeb
Use statuses instead of http module for status messages
...
closes #3215
2017-02-22 02:16:52 -05:00
Douglas Christopher Wilson
f87abb3493
Remove usage of res._headers private field
...
closes #3174
2017-02-20 22:08:33 -05:00
Douglas Christopher Wilson
9f4dbae083
deps: etag@~1.8.0
2017-02-20 21:25:26 -05:00
Douglas Christopher Wilson
92c859dd05
deps: finalhandler@~1.0.0
2017-02-20 21:24:54 -05:00
Douglas Christopher Wilson
3e3d35777d
tests: update req.range tests to run through express
2017-02-20 17:09:21 -05:00
Douglas Christopher Wilson
eb326d7ecb
tests: update req.is tests to run through express
2017-02-20 16:55:15 -05:00
Sebastian Van Sande
abd1de73c1
tests: fix misnamed app.router test section
...
fixes #3194
closes #3199
2017-02-07 19:42:35 -05:00
Douglas Christopher Wilson
fb3946f454
lint: fix broken indentation in tests
2017-02-04 20:54:47 -05:00
Douglas Christopher Wilson
bcbb9d56c5
Merge tag '4.14.1'
2017-01-28 21:02:36 -05:00
Mike Tunnicliffe
ab1c9e924e
Remove res.jsonp(status, obj) signature
...
closes #2940
2017-01-27 23:53:41 -05:00
Mike Tunnicliffe
25fdefac45
Remove res.json(status, obj) signature
...
closes #2939
2017-01-27 23:46:54 -05:00
Mike Tunnicliffe
a856456a95
Remove res.vary() (no arguments) signature
...
closes #2943
2017-01-27 22:04:36 -05:00
Zachary Lester
6723b4419a
tests: add test for res.sendFile "cacheContol" option
...
closes #3061
2017-01-21 00:33:29 -05:00
Vishvajit Pathak
bd47aeb88d
tests: fix typos in test descriptions
...
closes #3129
closes #3130
2016-11-18 13:47:28 -05:00
Douglas Christopher Wilson
1dbfee6623
Merge tag '4.14.0'
2016-06-20 00:37:34 -04:00
Douglas Christopher Wilson
76eaa326ee
Encode URL in res.location/res.redirect if not already encoded
...
fixes #2897
fixes #3003
2016-06-13 23:23:29 -04:00
Douglas Christopher Wilson
fc40702cb7
deps: send@0.14.1
2016-06-12 22:33:44 -04:00
Douglas Christopher Wilson
c762b16f62
Improve error with invalid arguments to req.get()
...
fixes #2993
2016-06-03 00:07:34 -04:00
Douglas Christopher Wilson
5d642af8c3
Add "options" argument to req.range
2016-06-01 19:13:36 -04:00
Douglas Christopher Wilson
8ddab697cc
build: supertest@1.2.0
2016-06-01 17:31:10 -04:00
huaoguo
2e1284beb6
Fix Windows absolute path check using forward slashes
...
closes #3017
2016-06-01 16:47:03 -04:00
Douglas Christopher Wilson
31dd549f35
tests: add test for dispatching to empty route
2016-05-23 23:03:13 -04:00
Douglas Christopher Wilson
12bc16e72f
tests: use supertest to check response header values
...
closes #2983
closes #2992
2016-05-11 08:50:38 +02:00
Linus Unnebäck
bb84cf955f
tests: add test for signed cookie without secret
...
closes #2986
2016-05-10 11:54:52 -04:00
Douglas Christopher Wilson
7cafdb5824
Merge tag '4.13.4'
2016-01-21 21:23:07 -05:00
Douglas Christopher Wilson
e7a02f6a25
build: move repository to expressjs
2016-01-21 20:59:53 -05:00
Ricardo Bin
7a3b5aea11
tests: add test for res.send() without arguments
...
closes #2778
closes #2783
2015-11-07 00:25:06 -05:00
Brendan Ashworth
2f8ac6726f
tests: fix redirect tests for change in 302 status message
...
closes #2690
2015-08-03 15:54:03 -04:00
Douglas Christopher Wilson
11a77a3fff
Fix inner numeric indices incorrectly altering parent req.params
2015-08-03 01:01:16 -04:00
Douglas Christopher Wilson
ee90042d0c
Fix infinite loop condition using mergeParams: true
2015-08-03 00:50:48 -04:00
Blake Embrey
e33c5035bb
deps: path-to-regexp@0.1.7
...
closes #2717
2015-07-31 16:58:57 -04:00
Douglas Christopher Wilson
de7ffca33f
tests: add test for matching route after error
2015-07-24 21:36:56 -04:00
Jeremiah Senkpiel
694869d2aa
Use path-is-absolute module for absolute path detection
...
closes #2620
2015-07-06 23:55:17 -04:00
Douglas Christopher Wilson
cec5780db4
Use router module for routing
...
closes #2411
2015-07-06 23:46:00 -04:00
Douglas Christopher Wilson
21d52daafb
Remove req.param()
2015-07-06 21:15:16 -04:00
Douglas Christopher Wilson
6c751191dd
Remove utils.flatten
2015-07-06 21:12:44 -04:00
Douglas Christopher Wilson
1e2951a832
Remove app.param(fn) signature
2015-07-06 16:45:09 -04:00
Douglas Christopher Wilson
3a1f27fcde
Remove ":" stripping from app.param()
2015-07-06 16:31:51 -04:00
Douglas Christopher Wilson
b309b873f1
Merge tag '4.13.1'
2015-07-06 16:13:54 -04:00
Douglas Christopher Wilson
7bea53b92b
deps: qs@4.0.0
2015-07-06 01:20:09 -04:00
Douglas Christopher Wilson
0634e7e189
tests: add test for rendering extensionless file without view engine
2015-06-20 12:54:52 -04:00
Blake Embrey
60e2008dee
deps: path-to-regexp@0.1.6
...
fixes #2491
fixes #2617
closes #2637
closes #2683
2015-06-19 09:59:33 -04:00
Behcet Uyar
24d1c98c0a
Fix res.format error when only default provided
...
fixes #2665
2015-06-18 23:08:34 -04:00
Radu Dan
8da51e3acc
Fix issue where next('route') in app.param would incorrectly skip values
...
fixes #2655
2015-06-18 22:14:37 -04:00
Douglas Christopher Wilson
3d2ecdd5fa
Merge tag '3.21.0'
2015-06-18 22:10:21 -04:00
Douglas Christopher Wilson
c8d61b6269
deps: etag@~1.7.0
...
fixes #2667
2015-06-18 20:54:26 -04:00
Douglas Christopher Wilson
f90e045334
Merge tag '4.12.4'
2015-05-18 00:41:42 -04:00
Douglas Christopher Wilson
62d5c38575
Merge tag '3.20.3'
2015-05-18 00:12:01 -04:00
Douglas Christopher Wilson
7df8fa3be5
deps: supertest@1.0.1
2015-05-17 23:44:09 -04:00
Ignacio Carbajo
ea6e4d3b6f
tests: add a missing test description
...
closes #2631
2015-05-01 22:12:09 -04:00
Douglas Christopher Wilson
c894c84e4a
build: support io.js 1.x
...
closes #2539
2015-03-17 02:09:39 -04:00
Douglas Christopher Wilson
40f4ac3cb3
Merge tag '3.20.2'
2015-03-17 01:52:23 -04:00
Phat
1114ca1ab6
tests: fix assert usage mistake
...
fixes #2592
2015-03-17 01:19:38 -04:00
Douglas Christopher Wilson
389ab1b19f
tests: add test for cookie-sessions example
2015-03-17 01:02:08 -04:00
Douglas Christopher Wilson
dbc61fc191
Fix wrong code on aborted connections from res.sendFile
2015-03-01 17:27:50 -05:00
Douglas Christopher Wilson
cd6df7699d
Merge tag '3.20.1'
2015-02-28 23:29:23 -05:00
Douglas Christopher Wilson
2e0f5e7817
Fix req.host when using "trust proxy" hops count
2015-02-28 21:32:51 -05:00
Paul Serby
20aa12616a
Fix req.protocol/req.secure when using "trust proxy" hops count
...
fixes #2569
closes #2570
2015-02-28 21:29:43 -05:00
Douglas Christopher Wilson
f6ec710534
Merge tag '4.12.0'
2015-02-23 01:00:12 -05:00
Seth Krasnianski
8fe5fd89c6
tests: fix error-handling typo
...
closes #2557
2015-02-22 22:30:22 -05:00
Douglas Christopher Wilson
53e5991dd1
tests: add extra setCharset tests
2015-02-18 22:57:50 -05:00
Douglas Christopher Wilson
531f024e48
Merge tag '3.20.0'
2015-02-18 22:33:47 -05:00
Douglas Christopher Wilson
b40e74d6b6
Fix "trust proxy" setting to inherit when app is mounted
...
fixes #2550
fixes #2551
2015-02-18 00:59:56 -05:00
Douglas Christopher Wilson
eaf3318dd3
Generate ETags for all request responses
...
closes #2546
2015-02-18 00:12:28 -05:00
Douglas Christopher Wilson
ca480d7043
tests: improve res.download tests
2015-02-16 17:54:36 -05:00
Douglas Christopher Wilson
8a5ecd3d89
Merge tag '4.11.1'
2015-01-21 03:58:41 -05:00
Douglas Christopher Wilson
41f8435d32
tests: fix failing test on Node.js 0.11.15
2015-01-21 03:28:57 -05:00
Douglas Christopher Wilson
82689d68cf
Merge tag '3.19.1'
2015-01-21 03:24:31 -05:00
Douglas Christopher Wilson
855176b633
tests: remove more mocking uses
2015-01-21 03:17:30 -05:00
Douglas Christopher Wilson
f6f78e5f02
Add res.append(field, val) to append headers
...
closes #2455
2015-01-13 21:07:00 -05:00
Douglas Christopher Wilson
ec8daf0e7b
Match routes iteratively to prevent stack overflows
...
fixes #2412
2015-01-13 15:33:54 -05:00
Douglas Christopher Wilson
935f05bc84
Fix OPTIONS responses to include the HEAD method properly
...
fixes #2459
2015-01-13 13:26:19 -05:00
Douglas Christopher Wilson
dab9222942
Fix crash from error within OPTIONS response handler
...
fixes #2494
2015-01-12 18:00:49 -05:00
Douglas Christopher Wilson
11529a2ea0
Fix OPTIONS responses to include the HEAD method property
...
fixes #2459
2015-01-08 23:30:42 -05:00
Douglas Christopher Wilson
12626aed35
Fix Allow header for OPTIONS to not contain duplicate methods
...
fixes #2458
2015-01-04 19:07:21 -05:00
Douglas Christopher Wilson
3387916efc
Fix incorrect "Request aborted" for res.sendFile when HEAD or 304
...
fixes #2481
2015-01-04 18:26:15 -05:00
Douglas Christopher Wilson
4aa2801054
Merge tag '3.18.6'
2014-12-12 22:06:21 -05:00
Troy Goode
5d74a553d6
Fix exception in req.fresh/req.stale without response headers
...
fixes #2468
2014-12-12 21:17:23 -05:00
Douglas Christopher Wilson
91824514ce
tests: run render tests with internal template engine
2014-11-28 09:10:44 -05:00
Douglas Christopher Wilson
4b26bbde2d
Fix res.sendFile logging standard write errors
...
closes #2451
2014-11-24 23:28:37 -05:00
Douglas Christopher Wilson
b326ae89df
Fix res.sendFile logging standard write errors
...
fixes #2433
2014-11-23 16:53:11 -05:00
Josemar Magalhaes
6dea32cd18
examples: add multi router example
...
closes #2434
2014-11-09 19:01:13 -05:00
Douglas Christopher Wilson
97ccc52207
Remove res.send(status) signature
2014-11-06 21:20:46 -05:00
Douglas Christopher Wilson
0fc4f0735a
Remove res.sendfile
2014-11-06 21:03:04 -05:00
Douglas Christopher Wilson
ccdbe4ea37
Remove req.acceptsLanguage
2014-11-06 20:54:29 -05:00
Douglas Christopher Wilson
59f2b4048a
Remove acceptsEncoding
2014-11-06 20:53:17 -05:00
Douglas Christopher Wilson
7f2532808a
Remove req.acceptsCharset
2014-11-06 20:52:14 -05:00
Douglas Christopher Wilson
f31dcff10c
Remove app.del
2014-11-06 20:44:42 -05:00
Douglas Christopher Wilson
8c6f9c4253
Remove app.router error message
2014-11-06 20:18:44 -05:00
Douglas Christopher Wilson
88103063fe
Remove res.jsonp(obj, status) signature
2014-11-06 20:18:42 -05:00
Douglas Christopher Wilson
164638b24f
Remove res.json(obj, status) signature
2014-11-06 20:18:40 -05:00
Douglas Christopher Wilson
e66625be50
Remove res.send(body, status) signature
2014-11-06 20:18:39 -05:00
Douglas Christopher Wilson
085a29685a
Change req.host to return host
2014-11-06 20:18:37 -05:00
Aria Stewart
eabd4564aa
Fix handling of URLs containing :// in the path
...
fixes #2421
2014-10-29 00:33:02 -04:00
Douglas Christopher Wilson
68290ee87a
Fix handling of invalid empty URLs
...
fixes #2399
2014-10-23 21:33:38 -04:00
Douglas Christopher Wilson
6614352563
Add support for app.set('views', array)
...
closes #2320
2014-10-23 17:28:53 -04:00
Douglas Christopher Wilson
b1d0c19ca1
examples: make main app file names consistent
...
fixes #2408
2014-10-23 02:39:38 -04:00
Douglas Christopher Wilson
ccc45a74f8
Merge tag '3.18.1'
2014-10-23 02:06:20 -04:00
Douglas Christopher Wilson
af1043844f
Fix internal utils.merge deprecation warnings
2014-10-22 15:18:10 -04:00
Douglas Christopher Wilson
4d1ee23f84
Use etag module to generate ETag headers
2014-10-18 00:53:17 -04:00
Douglas Christopher Wilson
6f31218ecc
Use content-disposition module
2014-10-17 23:45:58 -04:00
Alex Upadhyay
6f0302fb78
Fix res.redirect body when redirect status specified
...
fixes #2402
fixes #2404
2014-10-17 22:00:59 -04:00
Douglas Christopher Wilson
94f10c26cb
Fix using same param name in array of paths
...
fixes #2389
2014-10-10 16:31:09 -04:00
Douglas Christopher Wilson
728917164c
Fix router.use to accept array of middleware without path
2014-09-17 19:18:13 -07:00
Douglas Christopher Wilson
bf1980f1b4
Improve error message for bad app.use arguments
2014-09-17 19:18:10 -07:00
Douglas Christopher Wilson
3c1a964362
Fix regression for empty string path in app.use
...
fixes #2361
fixes #2362
2014-09-17 19:18:01 -07:00
Douglas Christopher Wilson
916a75cf19
Merge tag '3.17.2'
2014-09-16 23:08:03 -07:00
Julien Gilli
80847d8c82
tests: fix broken tests with node v0.12 branch
...
Currently, test/req.ip.js assumes that the connection between the client
and the server is an IPv4 connection. However, depending on the
configuration of the host where this test runs, the connection can be an
IPv4 one or an IPv6 one using an IPv4 mapped address. In the future, it
could also be a "full" IPv6 connection.
This change makes this test handle any type of address.
fixes #2342
2014-09-15 21:41:34 -07:00
Douglas Christopher Wilson
cf41a8f254
Fix app.use to accept array of middleware without path
...
fixes #2356
2014-09-12 17:46:49 -04:00
Seth Samuel
12f92a50dc
Add res.sendStatus
...
closes #2269
closes #2297
closes #2340
2014-09-09 00:24:11 -04:00
Douglas Christopher Wilson
51d33edb79
Use etag to generate ETag headers
2014-09-09 00:13:49 -04:00
Douglas Christopher Wilson
2a0c35a108
Invoke callback for sendfile when client aborts
...
fixes #2189
fixes #2300
closes #2303
closes #2305
2014-09-09 00:12:49 -04:00
Douglas Christopher Wilson
6bc7574ab5
docs: typo fixes
...
closes #2316
2014-09-08 23:53:21 -04:00
Douglas Christopher Wilson
3dca534995
Merge tag '3.17.1'
2014-09-08 23:48:59 -04:00
Douglas Christopher Wilson
70767b19ac
Fix error in req.subdomains on empty host
2014-09-08 23:45:34 -04:00
Douglas Christopher Wilson
2de6514b4b
Support IP address host in req.subdomains
...
fixes #2308
2014-09-08 23:04:06 -04:00
Douglas Christopher Wilson
d07c06363f
Support X-Forwarded-Host in req.subdomains
2014-09-08 23:02:42 -04:00
Douglas Christopher Wilson
33bb8fc4b6
examples: fix up route-separation code
...
closes #2341
2014-09-08 20:51:32 -04:00
Douglas Christopher Wilson
4986b1cb4c
tests: add some res.sendfile directory tests
2014-08-24 13:28:39 -04:00
Douglas Christopher Wilson
9eafaa23d8
Merge tag '3.16.7'
2014-08-18 22:54:25 -04:00
Raymond Feng
d7bef52591
build: move repository
...
closes #2268
closes #2270
2014-08-18 22:07:35 -04:00
Douglas Christopher Wilson
1ca01c0c47
tests: add router.use validation tests
...
closes #2299
2014-08-15 00:22:54 -04:00
Douglas Christopher Wilson
fbceae2716
tests: add additional res.sendFile test
...
closes #2298
2014-08-15 00:18:54 -04:00
Fabien Franzen
17cea29013
Support mounted app as any argument to app.use()
...
fixes #2277
2014-08-06 02:49:06 -04:00
Douglas Christopher Wilson
2cb029f896
Add res.sendFile
...
fixes #1906
closes #2266
2014-08-06 02:26:51 -04:00
Douglas Christopher Wilson
12e070e39a
tests: add encoding tests for res.sendfile
2014-08-04 17:38:04 -04:00
Douglas Christopher Wilson
d8237b976b
Merge tag '3.15.3' into 4.7.x
2014-08-04 17:35:42 -04:00
Douglas Christopher Wilson
e8b471ff4f
fix res.sendfile regression for serving directory index files
2014-08-04 17:30:25 -04:00
Douglas Christopher Wilson
d0b6b3dfcf
tests: change Route tests to use callback
2014-07-23 17:28:14 -04:00
Ashley Streb
11c74d72eb
Fix req.protocol for proxy-direct connections
...
fixes #2252
2014-07-23 16:08:20 -04:00
Douglas Christopher Wilson
88cffadcaa
deps: send@0.7.0
2014-07-23 14:54:33 -04:00
Ashley Streb
a28b7a85cf
Fix req.protocol for proxy-direct connections
...
fixes #2252
2014-07-23 00:19:10 -04:00
Douglas Christopher Wilson
0d77305a1a
Pass options from res.sendfile to send
...
fixes #2017
2014-07-23 00:08:15 -04:00
Douglas Christopher Wilson
e29fa25bb4
Add configurable query parser
...
closes #2215
2014-07-13 23:15:00 -04:00
Douglas Christopher Wilson
b43205ca98
perf: prevent multiple Buffer creation in res.send
2014-07-13 21:14:30 -04:00
Douglas Christopher Wilson
3e32721e24
Fix subapp.mountpath regression for app.use(subapp)
...
fixes #2233
2014-07-12 22:07:43 -04:00
Douglas Christopher Wilson
997a558a73
Accept multiple callbacks to app.use()
...
fixes #2224
2014-07-11 17:13:06 -04:00
Douglas Christopher Wilson
a01326adac
Catch errors in multiple req.param(name, fn) handlers
2014-07-11 17:12:57 -04:00
Douglas Christopher Wilson
1c3bd36be6
Support non-string path in app.use(path, fn)
...
fixes #2207
2014-07-11 16:35:37 -04:00
Douglas Christopher Wilson
4ea6f21b02
Merge tag '3.14.0'
2014-07-11 16:28:37 -04:00
Douglas Christopher Wilson
ec5b9f5c61
tests: add test for error handler in route
...
closes #2228
2014-07-11 09:35:20 -04:00
Douglas Christopher Wilson
b2382a7336
Remove unnecessary escaping in res.jsonp
2014-07-11 00:20:11 -04:00
Douglas Christopher Wilson
f684a64df7
Add explicit "Rosetta Flash JSONP abuse" protection
2014-07-11 00:15:55 -04:00
Yad Smood
544c6665f5
Fix res.send(status, num) to send num as json
...
fixes #2226
2014-07-10 23:19:57 -04:00
Douglas Christopher Wilson
968b00c3d7
tests: add missing FQDN router URL tests
2014-07-08 19:40:22 -04:00
Douglas Christopher Wilson
ef497fdae4
tests: add mounting to strict routing test
2014-07-07 23:25:05 -04:00
Douglas Christopher Wilson
23a49ff61e
Fix routing regression when altering req.method
2014-07-06 19:44:43 -04:00
Douglas Christopher Wilson
b4b2efee0f
tests: add more app.use tests
2014-07-05 11:32:44 -04:00
Douglas Christopher Wilson
e6eeec3f03
Add req.hostname
...
closes #2179
2014-07-04 14:00:37 -04:00
Douglas Christopher Wilson
269dc5323f
Invoke router.param() only when route matches
...
fixes #2206
2014-07-04 13:46:23 -04:00
Douglas Christopher Wilson
bcee730354
Merge tag '3.13.0'
2014-07-04 01:14:40 -04:00
Douglas Christopher Wilson
b601d64203
tests: fix inconsistent test
2014-07-04 00:38:59 -04:00
Douglas Christopher Wilson
ce3d1fe07e
Add headers option to res.sendfile
2014-07-03 12:53:49 -04:00
Douglas Christopher Wilson
fd35351594
Add mergeParams option to Router
...
fixes #2153
fixes #2203
2014-07-03 01:13:09 -04:00
Douglas Christopher Wilson
0ebfc6b7bf
tests: add test for OPTIONS in app.all
2014-06-23 20:35:44 -04:00
Douglas Christopher Wilson
2cccbc186e
add deprecation message to non-plural req.accepts*
2014-06-23 16:17:44 -04:00
Douglas Christopher Wilson
7f26cfca91
Fix handling when route.all is only route
2014-06-22 12:02:40 -04:00
Douglas Christopher Wilson
b89a597029
Restore req.params after invoking Router
...
fixes #2163
2014-06-22 12:02:36 -04:00
Douglas Christopher Wilson
bdfd288eec
fix behavior when handling request without routes
...
fixes #2159
2014-06-22 12:02:32 -04:00
Douglas Christopher Wilson
3ffceff3ed
Merge tag '3.12.0'
2014-06-22 11:42:15 -04:00
刘星
e606d99dc8
Fix res.attachment Unicode filenames in Safari
...
closes #2188
2014-06-20 16:55:05 -04:00
Douglas Christopher Wilson
6ee9433f29
deps: update example dependencies
2014-06-20 16:43:04 -04:00
Douglas Christopher Wilson
9c731f1883
deprecate things with depd module
2014-06-19 23:34:58 -04:00
Douglas Christopher Wilson
5a4e9125de
deps: connect@2.20.2
2014-06-19 23:24:07 -04:00
Douglas Christopher Wilson
6775658ed5
Fix persistence of req.params from app.params
...
fixes #2170
2014-06-11 18:15:09 -04:00
Douglas Christopher Wilson
3205f68510
deps: update example dependencies
2014-06-09 20:39:34 -04:00
Douglas Christopher Wilson
4d3e0d88a2
Fix catching errors from top-level handlers
2014-06-09 09:44:37 -04:00
Douglas Christopher Wilson
21393c244c
tests: add more route tests
2014-06-06 11:12:52 -04:00
Douglas Christopher Wilson
4279e6ef45
improve before hook in mvc example
2014-06-06 10:42:29 -04:00
Douglas Christopher Wilson
3db6dd752f
change confusing 404 handling in download example
2014-06-06 10:23:47 -04:00
Douglas Christopher Wilson
5019f38e29
tests: add more tests
2014-06-06 00:38:14 -04:00
Douglas Christopher Wilson
f433b7c7cf
replace utils.escape with html-escape
2014-06-03 00:37:32 -04:00