Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Broken Last-Modified + no 'since' = a bit clunky#695

Closed
zw wants to merge1 commit intogithub:masterfromzw:patch-2
Closed
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletionscontent/v3/activity/events.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,11 +10,13 @@ various activity streams on the site.
* TOC
{:toc}

Events are optimized for polling with the "ETag" header. If no new events have
been triggered, you will see a "304 Not Modified" response, and your current
rate limit will be untouched. There is also an "X-Poll-Interval" header that
specifies how often (in seconds) you are allowed to poll. In times of high
server load, the time may increase. Please obey the header.
Events are optimized for polling with the "ETag" header. `Last-Modified` is
returned on responses, but is inaccurate. All events are always returned.
If no new events have been triggered, you will see a "304 Not Modified"
response, and your current rate limit will be untouched. There is also an
"X-Poll-Interval" header that specifies how often (in seconds) you are allowed
to poll. In times of high server load, the time may increase. Please obey
the header.

$ curl -I https://api.github.com/users/tater/events
HTTP/1.1 200 OK
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp