On Wed, Sep 15, 2010 at 6:06 AM, Matt Billenstein <m...@vazor.com> wrote: > Other than uploading the object fresh to S3, is there a way to set a > cache-control header?
> -- > You received this message because you are subscribed to the Google Groups "boto-users" group. > To post to this group, send email to boto-users@googlegroups.com. > To unsubscribe from this group, send email to boto-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/boto-users?hl=en.
On Wed, Sep 15, 2010 at 12:31:28PM -0400, Chris Moyer wrote: > Does this not work or are you asking for something more like:
My example works and I think the interface is fine, but I was wondering if there was a way to set a header on a file that's already in s3 without uploading it again.
> On Wed, Sep 15, 2010 at 6:06 AM, Matt Billenstein <m...@vazor.com> wrote: > > Other than uploading the object fresh to S3, is there a way to set a > > cache-control header?
> > -- > > You received this message because you are subscribed to the Google Groups "boto-users" group. > > To post to this group, send email to boto-users@googlegroups.com. > > To unsubscribe from this group, send email to boto-users+unsubscribe@googlegroups.com. > > For more options, visit this group at http://groups.google.com/group/boto-users?hl=en.
> -- > Chris Moyer
> -- > You received this message because you are subscribed to the Google Groups "boto-users" group. > To post to this group, send email to boto-users@googlegroups.com. > To unsubscribe from this group, send email to boto-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/boto-users?hl=en.
On Wed, Sep 15, 2010 at 1:22 PM, Matt Billenstein <m...@vazor.com> wrote: > On Wed, Sep 15, 2010 at 12:31:28PM -0400, Chris Moyer wrote: >> Does this not work or are you asking for something more like:
> My example works and I think the interface is fine, but I was wondering > if there was a way to set a header on a file that's already in s3 > without uploading it again.
>> On Wed, Sep 15, 2010 at 6:06 AM, Matt Billenstein <m...@vazor.com> wrote: >> > Other than uploading the object fresh to S3, is there a way to set a >> > cache-control header?
>> > -- >> > You received this message because you are subscribed to the Google Groups "boto-users" group. >> > To post to this group, send email to boto-users@googlegroups.com. >> > To unsubscribe from this group, send email to boto-users+unsubscribe@googlegroups.com. >> > For more options, visit this group at http://groups.google.com/group/boto-users?hl=en.
>> -- >> Chris Moyer
>> -- >> You received this message because you are subscribed to the Google Groups "boto-users" group. >> To post to this group, send email to boto-users@googlegroups.com. >> To unsubscribe from this group, send email to boto-users+unsubscribe@googlegroups.com. >> For more options, visit this group at http://groups.google.com/group/boto-users?hl=en.
> -- > You received this message because you are subscribed to the Google Groups "boto-users" group. > To post to this group, send email to boto-users@googlegroups.com. > To unsubscribe from this group, send email to boto-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/boto-users?hl=en.
On Wed, Sep 15, 2010 at 1:25 PM, Chris Moyer <koper...@gmail.com> wrote: > Ahh, yeah, that's been a long discussion on here before too. You can > do it, but it's essentially done by copying the file over itself. See
> On Wed, Sep 15, 2010 at 1:22 PM, Matt Billenstein <m...@vazor.com> wrote: > > On Wed, Sep 15, 2010 at 12:31:28PM -0400, Chris Moyer wrote: > >> Does this not work or are you asking for something more like:
> > My example works and I think the interface is fine, but I was wondering > > if there was a way to set a header on a file that's already in s3 > > without uploading it again.
> >> On Wed, Sep 15, 2010 at 6:06 AM, Matt Billenstein <m...@vazor.com> > wrote: > >> > Other than uploading the object fresh to S3, is there a way to set a > >> > cache-control header?
> >> > -- > >> > You received this message because you are subscribed to the Google > Groups "boto-users" group. > >> > To post to this group, send email to boto-users@googlegroups.com. > >> > To unsubscribe from this group, send email to > boto-users+unsubscribe@googlegroups.com<boto-users%2Bunsubscribe@googlegrou ps.com> > . > >> > For more options, visit this group at > http://groups.google.com/group/boto-users?hl=en.
> >> -- > >> Chris Moyer
> >> -- > >> You received this message because you are subscribed to the Google > Groups "boto-users" group. > >> To post to this group, send email to boto-users@googlegroups.com. > >> To unsubscribe from this group, send email to > boto-users+unsubscribe@googlegroups.com<boto-users%2Bunsubscribe@googlegrou ps.com> > . > >> For more options, visit this group at > http://groups.google.com/group/boto-users?hl=en.
> > -- > > You received this message because you are subscribed to the Google Groups > "boto-users" group. > > To post to this group, send email to boto-users@googlegroups.com. > > To unsubscribe from this group, send email to > boto-users+unsubscribe@googlegroups.com<boto-users%2Bunsubscribe@googlegrou ps.com> > . > > For more options, visit this group at > http://groups.google.com/group/boto-users?hl=en.
> -- > Chris Moyer
> -- > You received this message because you are subscribed to the Google Groups > "boto-users" group. > To post to this group, send email to boto-users@googlegroups.com. > To unsubscribe from this group, send email to > boto-users+unsubscribe@googlegroups.com<boto-users%2Bunsubscribe@googlegrou ps.com> > . > For more options, visit this group at > http://groups.google.com/group/boto-users?hl=en.
There is a "preserve_acl" boolean param to the copy method that will handle this for you. It basically does the same think you are doing already but saves you a bit of work.
On Wed, Sep 15, 2010 at 3:34 PM, Matt Billenstein <m...@vazor.com> wrote: > On Wed, Sep 15, 2010 at 01:25:03PM -0400, Chris Moyer wrote: > > Ahh, yeah, that's been a long discussion on here before too. You can > > do it, but it's essentially done by copying the file over itself. See
> -- > You received this message because you are subscribed to the Google Groups > "boto-users" group. > To post to this group, send email to boto-users@googlegroups.com. > To unsubscribe from this group, send email to > boto-users+unsubscribe@googlegroups.com<boto-users%2Bunsubscribe@googlegrou ps.com> > . > For more options, visit this group at > http://groups.google.com/group/boto-users?hl=en.
On Wed, Sep 15, 2010 at 3:40 PM, Mitchell Garnaat <mi...@garnaat.com> wrote: > There is a "preserve_acl" boolean param to the copy method that will handle > this for you. It basically does the same think you are doing already but > saves you a bit of work. > Mitch
> On Wed, Sep 15, 2010 at 3:34 PM, Matt Billenstein <m...@vazor.com> wrote:
>> On Wed, Sep 15, 2010 at 01:25:03PM -0400, Chris Moyer wrote: >> > Ahh, yeah, that's been a long discussion on here before too. You can >> > do it, but it's essentially done by copying the file over itself. See
>> -- >> You received this message because you are subscribed to the Google Groups >> "boto-users" group. >> To post to this group, send email to boto-users@googlegroups.com. >> To unsubscribe from this group, send email to >> boto-users+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/boto-users?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "boto-users" group. > To post to this group, send email to boto-users@googlegroups.com. > To unsubscribe from this group, send email to > boto-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/boto-users?hl=en.
On Wed, Sep 15, 2010 at 03:40:36PM -0400, Mitchell Garnaat wrote: > There is a "preserve_acl" boolean param to the copy method that will > handle this for you. *It basically does the same think you are doing > already but saves you a bit of work.
Ah, cool, thanks -- I was looking at the 1.9 docs online and overlooked this...