Yep! :+1:
On Apr 14, 2014 2:12 AM, "Shane Tomlinson" <notifications@github.com> wrote:

> In app/scripts/lib/auth-errors.js:
>
> > @@ -32,6 +32,7 @@ function () {
> >      REQUEST_TOO_LARGE: 113,
> >      THROTTLED: 114,
> >      SERVICE_UNAVAILABLE: 201,
> > +    SERVER_BUSY: '201:503',
>
> @zaach <https://github.com/zaach> - AFAIK, neither the auth-server nor
> the fxa-js-client return the 201 if the service is unavailable, we assume
> it here<https://github.com/mozilla/fxa-content-server/blob/c6f5db2311ea8520aaa1baccf7ff3392504dfbc6/app/scripts/lib/auth-errors.js#L96>.
> If that is the case, we could change SERVICE_UNAVAILABLE to another
> number and use 201 for SERVER_BUSY
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mozilla/fxa-content-server/pull/898/files#r11575976>
> .
>