Despite not being present on Twitter's list of HTTP errors, it seems like when streaming rules are created, they return the successful 201 HTTP status code (details).
If the rate_limit_manager is enabled, the manager will throw an error even though we had no problems.
We should be able to edit the below line...
|
if response.status_code != 200: |
... to match either of these codes with something like...
if response.status_code not in [200, 201]:
Despite not being present on Twitter's list of HTTP errors, it seems like when streaming rules are created, they return the successful 201 HTTP status code (details).
If the
rate_limit_manageris enabled, the manager will throw an error even though we had no problems.We should be able to edit the below line...
osometweet/osometweet/rate_limit_manager.py
Line 94 in f512660
... to match either of these codes with something like...