diff --git a/lib/requestify.js b/lib/requestify.js index da18d85..273f940 100644 --- a/lib/requestify.js +++ b/lib/requestify.js @@ -125,7 +125,7 @@ var Requestify = (function() { */ timeout = setTimeout(function() { httpRequest.abort(); - defer.reject(new Response(405, {}, 'timeout exceeded')); + defer.reject(new Response(504, {}, 'timeout exceeded')); }, request.timeout); /**