Timo Tijhof 0ebd29371a web: Allow clients (browsers, proxies) to cache status.json
Follows-up aa4f2e7. While we're sending Last-Modified already,
that's purely informational and doesn't do much.

In theory proxies could figure it out by observing or polling
the backend (with rate limiting) but afaik that isn't generally
implemented.

Web browsers typically send If-Modified-Since. So for requests
coming from the users directly, Response.conditional_response_app
handles the If-Modified-Since header and returns early with
HTTPNotModified if needed (and no body content).

In addition Cache-Control/Expires headers allow clients/proxies
to handle it themselves (without even a 304 rountrip). This is
preferred and informs the client of the actual expiry instead of
having it ask us every time whether or not a timestamp is too old.

Response:
 200 OK
 Cache-Control: public, must-revalidate, max-age=(seconds)
 Expires: (RFC 2822 timestamp + seconds)
 Last-Modified: (RFC 2822 timestamp)

Request:
 GET
 If-Modified-Since: (RFC 2822 timestamp)

Response:
 304 Not Modified
 Expires: (RFC 2822 timestamp + seconds)

http://docs.webob.org/en/1.1/modules/webob.html

Change-Id: I51f31f9d7965d805e147fda4070feead528601ac
2015-04-04 00:44:34 +01:00
2013-12-03 17:23:54 -08:00
2012-12-16 20:34:13 +00:00
2012-09-26 14:23:10 +00:00
2013-07-02 17:47:23 +00:00
2012-05-29 14:49:32 -07:00
2013-06-25 19:04:30 +00:00
2014-10-14 20:32:02 +02:00
2013-08-01 11:56:52 -07:00
2015-01-21 19:38:33 +11:00

Zuul

Zuul is a trunk gating system developed for the OpenStack Project.

Contributing

To browse the latest code, see: https://git.openstack.org/cgit/openstack-infra/zuul/tree/ To clone the latest code, use git clone git://git.openstack.org/openstack-infra/zuul

Bugs are handled at: https://storyboard.openstack.org/#!/project/679

Code reviews are, as you might expect, handled by gerrit. The gerrit they use is http://review.openstack.org

Use git review to submit patches (after creating a gerrit account that links to your launchpad account). Example:

# Do your commits
$ git review
# Enter your username if prompted
S
Description
The Gatekeeper, or a project gating system
Readme 170 MiB
Languages
Python 89.2%
JavaScript 8.8%
C# 1%
PowerShell 0.3%
Shell 0.3%
Other 0.3%