pusher/pusher-js — Issue #17: The post for auth should accept 201 as a status code (not just 200).
Author: agileanimal
Created: 2012-02-16 11:19:29+00:00
State: open

Since the call is a post and auth credentials are being created a 201 is more appropriate.

Many people abuse 200 so you probably need to look for both.

Ideally:

xhr.status == 200 || xhr.status == 201