Share a request rate limit reminder on both 429 pages.

This commit is contained in:
Neil Williams
2012-02-02 09:17:34 -08:00
parent 4ef748d0f5
commit 8b386b9c59
3 changed files with 5 additions and 3 deletions

View File

@@ -18,5 +18,8 @@
<body>
<h1>whoa there, pardner!</h1>
${self.body()}
<p>as a reminder to developers, we recommend that clients make no
more than <a href="http://github.com/reddit/reddit/wiki/API">one
request every two seconds</a> to avoid seeing this message.</p>
</body>
</html>

View File

@@ -12,5 +12,3 @@ any of the following ways.</p>
<li><a href="mailto:ratelimit@reddit.com">ratelimit@reddit.com</a></li>
</ul>
<p>when contacting us, please include your ip address which is: <strong>${request.ip}</strong></p>
<p>as a reminder, we recommend that clients make no more than one
request every two seconds to avoid being blocked like this.</p>

View File

@@ -1,8 +1,9 @@
<%inherit file="ratelimit_base.html"/>
<p>you appear to be a search engine spider or are coming to us via
AppEngine. to prevent abuse, we maintain a one request per second speed
AppEngine. to prevent abuse, we maintain a one request per second hard speed
limit from these sources. please wait a moment and try again.</p>
<p>if you are not a search engine spider, but are spoofing one via your
browser's user agent string, please change your user agent string to
avoid seeing this message again.</p>