summaryrefslogtreecommitdiff
path: root/test/storage/server.js
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-09-29 17:27:38 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-09-29 18:20:23 -0700
commit686c967c8ece2e3f09a06c2466096317e8fd649c (patch)
tree59954ae782f2bac3b87aa3d6ec86d2988ea3e49b /test/storage/server.js
parent7112d436093d651ac0bdba4f9eaaf63e682b22a3 (diff)
downloadqtlocation-mapboxgl-686c967c8ece2e3f09a06c2466096317e8fd649c.tar.gz
[ios] [android] Use Response::NotFound in other HTTP implementations too
Diffstat (limited to 'test/storage/server.js')
-rwxr-xr-xtest/storage/server.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/storage/server.js b/test/storage/server.js
index 9f6def9c0b..342a61cdc1 100755
--- a/test/storage/server.js
+++ b/test/storage/server.js
@@ -73,6 +73,9 @@ app.get('/revalidate-etag', function(req, res) {
revalidateEtagCounter++;
});
+app.get('/permanent-error', function(req, res) {
+ res.status(500).end();
+});
var temporaryErrorCounter = 0;
app.get('/temporary-error', function(req, res) {