No, i was thinking of "allowed_headers", when I add: [DEFAULT]
allowed_headers = expires to my object server config and restart I can get an expires on there: vagrant@kinetic-swift:~$ curl -H 'x-auth-token: XXX' http://localhost:8080/v1/AUTH_test/test/test -XHEAD -I HTTP/1.1 200 OK Content-Length: 8 Content-Type: application/octet-stream Accept-Ranges: bytes ******* Expires: Thu, 01 Dec 1994 16:00:00 GMT ******* Last-Modified: Thu, 07 Aug 2014 19:34:54 GMT Etag: 70c1db56f301c9e337b0099bd4174b28 X-Timestamp: 1407440093.34244 X-Object-Meta-Mtime: 1407318130.199121 X-Trans-Id: tx0eabdde9187843798094c-0053e3d531 Date: Thu, 07 Aug 2014 19:36:17 GMT I bet that would mostly work with other headers too. Is that what you're looking for Brent? On Thu, Aug 7, 2014 at 10:24 AM, Samuel Merritt <s...@swiftstack.com> wrote: > On 8/7/14, 9:25 AM, Brent Troge wrote: > >> >> Hello. >> >> I am considering building out a Swift cluster to act as an origin to >> some edge cache servers. Are there any readily available API >> extensions(preferably OSS) which allow for setting max-age and expires >> headers? >> > > There's https://github.com/dpgoetz/sos. 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. > > > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack