Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set content-type when uploading to s3 #8

Merged
merged 1 commit into from
Nov 21, 2012

Conversation

petergillardmoss
Copy link
Contributor

Hello,

One of our QAs noticed that the content-type of the log archives was coming up as image/jpeg when served from s3.

I've added the correct content-type when writing the object.

PGM

@ghost ghost assigned repeatedly Nov 21, 2012
@kzk
Copy link
Member

kzk commented Nov 21, 2012

Thanks for the pull request! @repeatedly will check the change soon.

repeatedly added a commit that referenced this pull request Nov 21, 2012
Set content-type when uploading to s3
@repeatedly repeatedly merged commit 02071c7 into fluent:master Nov 21, 2012
@repeatedly
Copy link
Member

Merged.
Good catch and thanks for the pull request 👍

@kzk
Copy link
Member

kzk commented Nov 21, 2012

@frsyuki could you give @repeatedly a permission to release fluent-plugin-s3?

chillaxd pushed a commit to chillaxd/fluent-plugin-s3 that referenced this pull request Dec 19, 2016
# This is the 1st commit message:

# This is a combination of 3 commits.
# This is the 1st commit message:
# This is a combination of 3 commits.
# This is the 1st commit message:
Out S3 change

so that user can use minimal policy at AWS, to work with fluentd
like S3:PutObject

# This is the commit message fluent#2:

Spacing handled in out-S3 plugin

# This is the commit message fluent#3:

Identation modified

# This is the commit message fluent#4:

Introduce check_bucket paramater
To skip the using of auto_create_bucket for bucket existence checking

# This is the commit message fluent#5:

Fixes:

Test cases added.
README has been modified with check_bucket's usage and sample AWS policy.

# This is the commit message fluent#6:

Fixes:

Issues for extra spoaces. Modified

# This is the commit message fluent#7:

Spacing issues

# This is the commit message fluent#8:

Update test_out_s3.rb

# This is the commit message fluent#9:

time slicer modified for utc also

# This is the commit message fluent#10:

removing test cases

# This is the commit message fluent#1:

renaming time_slicer variable

# This is the commit message fluent#2:

Test casees added

Test cases for out_s3 plugin has been added. This feature will work with hardened
S3 policy like with only PutObject permission. As it will not check bucket existence
not even object existence, as for each object creation it will name it with timestamp.
So anyhow it will be unique everytime.

Only thing it willl assume that bucket is created already.

# This is the commit message fluent#3:

Some variable renamed

# This is the commit message fluent#2:

Clean up dependencies

# This is the commit message fluent#3:

Update README for placeholders

# This is the commit message fluent#2:

v0.8.0.rc1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants