Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Sequencing rate limit headers
Post Body

Say I have x-ratelimit-remaining of 10 and I fire off a couple API requests at about the same time. I would like to keep track of how many remaining API requests I have and update them upon receiving a response. However, it's possible that my application first sees a response (call it "Response A") with x-ratelimit-remaining of 8 and then a response ("Response B") with x-ratelimit-remaining of 9. The correct request budget should presumably be 8, so I don't want to clobber my state when I see Response B. However, is there any way for me to track the fact that Response A takes precedence over Response B?

Author
Account Strength
90%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,051
Link Karma
49
Comment Karma
912
Profile updated: 2 days ago
Posts updated: 7 months ago
Bot developer & PRAW contributor

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago