summaryrefslogtreecommitdiff
path: root/test/storage/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/storage/server.js')
-rwxr-xr-xtest/storage/server.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/storage/server.js b/test/storage/server.js
index a7538b55f1..92e9e9e0e7 100755
--- a/test/storage/server.js
+++ b/test/storage/server.js
@@ -117,13 +117,13 @@ app.get('/temporary-error', function(req, res) {
});
app.get('/rate-limit', function(req, res) {
-
+
if (req.query.std) {
res.setHeader('Retry-After', 1);
} else if (req.query.mbx) {
res.setHeader('x-rate-limit-reset', Math.round(Date.now() / 1000) + 1);
}
-
+
res.status(429).end();
});