Douglas Christopher Wilson
999546dfde
deps: qs@6.2.0
2016-05-31 14:28:20 -04:00
Ángel Sanz
b69b7605b0
perf: use strict equality when possible
...
closes #2722
2016-05-31 00:25:34 -04:00
Douglas Christopher Wilson
7bea53b92b
deps: qs@4.0.0
2015-07-06 01:20:09 -04:00
Douglas Christopher Wilson
e71014f522
perf: enable strict mode
2015-06-18 23:01:18 -04:00
Deepak Kapoor
f7e94a30bc
Use array-flatten module for flattening arrays
...
closes #2624
2015-06-18 22:15:15 -04:00
Douglas Christopher Wilson
531f024e48
Merge tag '3.20.0'
2015-02-18 22:33:47 -05:00
Douglas Christopher Wilson
f22937f3d1
Use content-type to parse Content-Type headers
2015-02-17 22:49:24 -05:00
Vladimir Grinenko
72d35b6b4a
Fix typo in jsdoc description
...
closes #2514
2015-02-01 15:24:48 -05:00
Douglas Christopher Wilson
ccc45a74f8
Merge tag '3.18.1'
2014-10-23 02:06:20 -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
Douglas Christopher Wilson
f6ac068ab0
Use crc instead of buffer-crc32 for speed
2014-09-16 00:11:08 -07:00
Douglas Christopher Wilson
51d33edb79
Use etag to generate ETag headers
2014-09-09 00:13:49 -04:00
Douglas Christopher Wilson
e29fa25bb4
Add configurable query parser
...
closes #2215
2014-07-13 23:15:00 -04:00
Douglas Christopher Wilson
3ffceff3ed
Merge tag '3.12.0'
2014-06-22 11:42:15 -04:00
Douglas Christopher Wilson
e66667e465
Use media-typer to alter content-type charset
2014-06-21 21:09:12 -04:00
刘星
e606d99dc8
Fix res.attachment Unicode filenames in Safari
...
closes #2188
2014-06-20 16:55:05 -04:00
Douglas Christopher Wilson
9c731f1883
deprecate things with depd module
2014-06-19 23:34:58 -04:00
Douglas Christopher Wilson
f433b7c7cf
replace utils.escape with html-escape
2014-06-03 00:37:32 -04:00
Douglas Christopher Wilson
db4448dda8
Merge tag '3.9.0'
2014-05-30 22:17:51 -04:00
Douglas Christopher Wilson
c21226aa7c
improve etag control for res.send
...
closes #1435
closes #2129
2014-05-30 21:02:21 -04:00
Douglas Christopher Wilson
8ab96ab80d
mark res.send ETag as weak and reduce collisions
2014-05-29 23:14:21 -04:00
Douglas Christopher Wilson
db4a061ed6
Merge tag '3.8.0'
2014-05-21 02:08:04 -04:00
Douglas Christopher Wilson
f14e39d451
set proper charset in content-type for res.send
...
This will write strings to sockets with an explicit "utf8" encoding
(which is the default) and will override the charset in the
Content-Type so it properly relfects the encoding of the response.
closes #1631
closes #2092
2014-05-21 01:31:08 -04:00
Douglas Christopher Wilson
097cd0c242
Merge tag '3.7.0'
2014-05-18 11:21:30 -04:00
Douglas Christopher Wilson
566720be15
improve proxy trust with ip address list
...
closes #2099
2014-05-17 20:02:20 -04:00
Douglas Christopher Wilson
d98e2e7498
deprecation messages are bright red on TTYs
2014-05-13 17:06:45 -04:00
Douglas Christopher Wilson
35c50601bd
Merge tag '3.6.0'
2014-05-09 17:33:26 -04:00
Douglas Christopher Wilson
8dc4ff26f9
Add standard deprecation utility
...
* deprecations ignore when NODE_ENV=test
* uses node.js util.deprecate
2014-05-08 19:01:16 -04:00
Andy VanWagoner
56b672e657
support non-ascii filenames in content-disposition headers
2014-04-19 21:16:11 -06:00
agchou
13475977af
some code cleanup
2014-03-25 15:23:04 -07:00
Jonathan Ong
7693aa5464
use parseurl
2014-03-07 18:27:26 -08:00
Jonathan Ong
110f471efa
lint
2014-03-07 18:04:03 -08:00
Jonathan Ong
3321055025
use path-to-regexp
2014-03-05 22:35:55 -08:00
Roman Shtylman
6911815171
Router: add parameter handling to middleware
...
Middleware (.use) can now specify parameter arguments to trigger
Router.param loading. This is handy if you want to `.use` additional
routers but need to load certain objects before the mounted middleware
runs.
2014-02-23 19:21:13 -05:00
Roman Shtylman
1396e0855d
remove last pieces of connect dependency
...
- copy over patch.js to shim ServerResponse
- bundle `static` middleware
2014-02-22 09:26:29 -05:00
Roman Shtylman
6a7363e4ae
use local copy of parseUrl
2014-02-22 09:26:29 -05:00
Roman Shtylman
9bc63d92a0
move connect.query() into our repo
2014-02-22 09:26:29 -05:00
Roman Shtylman
4983c38298
change res.locals to a plain js object.
...
Anyone who wants something fancier should use modules.
- fixes annoyance with not being able to set 'name' property on locals
2014-01-27 19:17:29 -05:00
Roman Shtylman
63c6a9c5ad
use escape-html module to escape html
...
Another util bites the dust.
2014-01-24 19:21:21 -05:00
Jonathan Ong
cec0c06a70
refactor req.is and req.accepts*
2014-01-03 02:50:09 -08:00
Alex Kocharin
7b0dca0f9c
throw 400 in case of malformed paths
2013-12-11 17:14:44 -08:00
Jonathan Ong
9bed2b80ee
lint: remove unused stuff
2013-10-18 01:18:56 -07:00
lxe
288176bbc9
Added safe encodeURIcomponent to eliminate errors on malformed captures.
2013-09-16 14:57:31 -04:00
Eric Willis
9e406dfee2
Updated Util.isAbsolute(path) to return true for Azure absolute paths
...
- Azure absolute paths look like \\ip_address\volume\guid\guid\site\wwwroot\...file.js.
Changed Util.isAbsolute to return true for paths that start with two backslashes.
2013-08-31 16:16:49 -07:00
TJ Holowaychuk
f8a33d137a
refactor
2013-04-13 09:16:15 -07:00
TJ Holowaychuk
2db135dfc7
Merge pull request #1566 from daguej/v8-context-fix
...
Possible fix for #1557
2013-04-13 09:14:41 -07:00
silentjohnny
88273a59f8
Added originalIndex to parseQuality to correctly sort long lists (v8 does unstable quicksort for length > 10)
2013-04-13 12:36:35 +02:00
TJ Holowaychuk
53b8e25731
ocd
2013-04-11 08:36:52 -07:00
Pavel Brylov
9e684d45bc
add support for custom Accept parameters
2013-04-11 08:34:10 -07:00