Douglas Christopher Wilson
12c3712468
Use safe-buffer for improved Buffer API
2017-09-28 08:26:39 -04:00
Douglas Christopher Wilson
6f31218ecc
Use content-disposition module
2014-10-17 23:45:58 -04:00
刘星
e606d99dc8
Fix res.attachment Unicode filenames in Safari
...
closes #2188
2014-06-20 16:55:05 -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
Jonathan Ong
328c6d3060
remove unnecessary test/support/http
...
backport of 643397ed21
2014-05-18 00:57:54 -04:00
Andy VanWagoner
56b672e657
support non-ascii filenames in content-disposition headers
2014-04-19 21:16:11 -06:00
Jonathan Ong
643397ed21
remove unnecessary test/support/http
2014-03-05 22:06:14 -08:00
TJ Holowaychuk
0f5560eebd
updated tests to use "supertest"
2012-06-26 17:14:07 -07:00
Tj Holowaychuk
0e395973c9
Added res.attachment() tests
2011-11-09 15:31:31 -08:00