diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-10-16 16:14:55 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-10-26 15:54:27 +0100 |
commit | 5173bf1bb8d21054b0dd6251d23eb37323d6c525 (patch) | |
tree | d13536c22b8279e9fd7e8f4892596c42973170f3 /test/storage/server.js | |
parent | 4e3503ea6cf30c55a2cc86f78c4a607bd14f1c41 (diff) | |
download | qtlocation-mapboxgl-5173bf1bb8d21054b0dd6251d23eb37323d6c525.tar.gz |
[core] Make response data shared to avoid excessive copying
Diffstat (limited to 'test/storage/server.js')
-rwxr-xr-x | test/storage/server.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/storage/server.js b/test/storage/server.js index 342a61cdc1..efc1e1d6c0 100755 --- a/test/storage/server.js +++ b/test/storage/server.js @@ -74,7 +74,7 @@ app.get('/revalidate-etag', function(req, res) { }); app.get('/permanent-error', function(req, res) { - res.status(500).end(); + res.status(500).send('Server Error!'); }); var temporaryErrorCounter = 0; |