Closed alanshaw closed 5 years ago
body is not null. In my experience I got:
body
body: '{"data":{"rateLimit":{"cost":1,"remaining":0,"resetAt":"2019-08-05T12:01:30Z"},"node":{"comments":{"pageInfo":{"endCursor"...
I'm not certain why it would need to be null and why inspection of the header wouldn't suffice.
null
status check is also unnecessary, queryRequest rejects for non-200 responses so rateLimited will not be called in this case.
status
queryRequest
rateLimited
@alanshaw Awesome! I've been wondering about this. Thank you.
body
is not null. In my experience I got:I'm not certain why it would need to be
null
and why inspection of the header wouldn't suffice.status
check is also unnecessary,queryRequest
rejects for non-200 responses sorateLimited
will not be called in this case.