Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request timeout is HTTP 408, not 401 #22

Merged
merged 1 commit into from
Feb 23, 2017
Merged

Request timeout is HTTP 408, not 401 #22

merged 1 commit into from
Feb 23, 2017

Conversation

victorandree
Copy link
Contributor

401 is Unauthorized, so this causes retries against resources the client has been explicitly told it is not authorized to access. HTTP code 408 is Request Timeout

401 is Unauthorized, so this causes retries against resources the client has been explicitly told it is not authorized to access. HTTP code 408 is Request Timeout
@codecov-io
Copy link

codecov-io commented Feb 23, 2017

Codecov Report

Merging #22 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #22   +/-   ##
=======================================
  Coverage   90.14%   90.14%           
=======================================
  Files           7        7           
  Lines         213      213           
=======================================
  Hits          192      192           
  Misses         21       21
Impacted Files Coverage Δ
src/constants/status-codes.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5100da3...c244a3f. Read the comment docs.

@ryanashcraft
Copy link
Contributor

Good catch, @victorandree. Thanks!

@ryanashcraft ryanashcraft merged commit 9b0b373 into amplitude:master Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants