Tim Burke 42adbe561f Respect X-Backend-Etag-Is-At headers from left of SLO
If a middleware left of SLO wants to override the ETag for a large
object, it will need to send a X-Backend-Etag-Is-At on GETs if it wants
to be at all performant. This would work fine coming out of the object
controller (which would look at the headers in the response, figure out
what's the real conditional etag, and pass it to swob.Response), and
even encryption (which would do the same), but at SLO, we'd just replace
the ETag, flag it as a conditional response, and let swob assume the
*SLO* ETag is the conditional one.

Now, SLO will jump through the same resolve_backend_etag_is_at hoops that
other parts of the proxy have to deal with. This allows If-Match and
If-None-Match to work correctly if/when swift3 stores an S3-compatible
multipart-upload ETag.

Change-Id: Ibbf59d38d7bcc9c485b1d5305548144025d77441
2018-03-26 23:50:43 +00:00
..
2013-07-15 11:41:58 +02:00
2018-02-28 21:10:01 +00:00
2017-12-13 21:26:12 +00:00
2016-11-08 12:22:12 -08:00
2015-07-30 09:33:18 +02:00
2018-02-26 12:39:16 +00:00
2018-02-28 21:10:01 +00:00
2018-02-28 12:49:13 -05:00