Skip to content

Commit

Permalink
Merge pull request #86 from Kinto/148-backoff-header
Browse files Browse the repository at this point in the history
Remove the Backoff header handling exclusion for 304 responses
  • Loading branch information
Natim committed Sep 8, 2015
2 parents 7097a50 + 18e60e3 commit 884a8f0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@ export default class HTTP {
}

_checkForBackoffHeader(status, headers) {
// XXX Temporary fix
// see https://github.com/mozilla-services/kinto/issues/148
if (status === 304) {
return;
}
var backoffMs;
const backoffSeconds = parseInt(headers.get("Backoff"), 10);
if (backoffSeconds > 0) {
Expand Down

0 comments on commit 884a8f0

Please sign in to comment.