<div dir="ltr">No, i was thinking of "allowed_headers", when I add:<div><br></div><div>















<p class="">[DEFAULT]</p><p class="">allowed_headers = expires</p><p class=""><br></p><p class="">to my object server config and restart I can get an expires on there:</p><p class=""><br></p><p class="">vagrant@kinetic-swift:~$ curl -H 'x-auth-token: XXX' <a href="http://localhost:8080/v1/AUTH_test/test/test">http://localhost:8080/v1/AUTH_test/test/test</a> -XHEAD -I</p>
<p class="">HTTP/1.1 200 OK</p><p class="">Content-Length: 8</p><p class="">Content-Type: application/octet-stream</p><p class="">Accept-Ranges: bytes</p><p class="">*******</p><p class="">Expires: Thu, 01 Dec 1994 16:00:00 GMT</p>
<p class="">*******<br></p><p class="">Last-Modified: Thu, 07 Aug 2014 19:34:54 GMT</p><p class="">Etag: 70c1db56f301c9e337b0099bd4174b28</p><p class="">X-Timestamp: 1407440093.34244</p><p class="">X-Object-Meta-Mtime: 1407318130.199121</p>
<p class="">X-Trans-Id: tx0eabdde9187843798094c-0053e3d531</p><p class="">Date: Thu, 07 Aug 2014 19:36:17 GMT</p><p class="">



















</p><p class=""><br></p><p class=""><br></p><p class=""><br></p><p class="">I bet that would mostly work with other headers too.  Is that what you're looking for Brent?</p></div></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Thu, Aug 7, 2014 at 10:24 AM, Samuel Merritt <span dir="ltr"><<a href="mailto:sam@swiftstack.com" target="_blank">sam@swiftstack.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 8/7/14, 9:25 AM, Brent Troge wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hello.<br>
<br>
I am considering building out a Swift cluster to act as an origin to<br>
some edge cache servers. Are there any readily available API<br>
extensions(preferably OSS) which allow for setting max-age and expires<br>
headers?<br>
</blockquote>
<br></div></div>
There's <a href="https://github.com/dpgoetz/sos" target="_blank">https://github.com/dpgoetz/sos</a><u></u>. I haven't personally used it, but it's Apache-licensed, and if you grep around in there for Expires and Cache-Control, they're both mentioned.<div class="HOEnZb">
<div class="h5"><br>
<br>
<br>
______________________________<u></u>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
</div></div></blockquote></div><br></div>