[FIG(quote)[
[FIGCAPTION[
[1] [CITE@ja[孔明……いや、octet-streamの罠 | 日記の間 | あかつきのお宿]]
([TIME[2015-06-18 17:41:46 +09:00]] 版)
<http://norm-nois.com/blog/archives/2968>
]FIGCAPTION]

> どうやら何も考えずにテンポラリファイルを直接S3にアップロードすると、ファイルのContent-Typeが「binary/octet-stream」というのになってしまう。これはそのファイルがバイナリファイルですよってことを表しています。
> 通常、例えばmp3の音声ファイルだったらContent-Typeは「audio/mpeg」とかになります。テキストファイルだったら「text/plain」かな。でも上記のやり方だと、いずれも「binary/octet-stream」ってのになるみたいです。

]FIG]


[2] [CITE@en[content-type: binary/octet-stream · Issue #138 · aws/aws-sdk-php]]
([TIME[2015-06-18 17:42:46 +09:00]] 版)
<https://github.com/aws/aws-sdk-php/issues/138>

[3] [CITE[amazon s3 - Firefox 29: HTTP "Content-Type" of "binary/octet-stream" is not supported - Stack Overflow]]
([TIME[2015-06-18 17:42:55 +09:00]] 版)
<http://stackoverflow.com/questions/23797235/firefox-29-http-content-type-of-binary-octet-stream-is-not-supported>

[4] [CITE[php - imagejpeg causing file type 'binary/octet-stream' in GCS - Stack Overflow]]
([TIME[2015-06-18 17:43:20 +09:00]] 版)
<http://stackoverflow.com/questions/27661234/imagejpeg-causing-file-type-binary-octet-stream-in-gcs>

[5] [CITE@ja[aws s3に画像を上げる時はcontent-typeを指定しましょうというメモ - Work Records]]
([TIME[2015-06-18 17:44:48 +09:00]] 版)
<http://kenjiszk.hatenablog.com/entry/2014/05/08/090733>

[FIG(quote)[
[FIGCAPTION[
[6] [CITE@en[953274 – PDF File upload : wrong mime type (js)]]
([TIME[2015-06-18 17:45:59 +09:00]] 版)
<https://bugzilla.mozilla.org/show_bug.cgi?id=953274>
]FIGCAPTION]

> Yes my mimeTypes.rdf contains the wrong value for .pdf files.
> <RDF:Description RDF:about="urn:mimetype:binary/octet-stream" NC:value="binary/octet-stream" NC:editable="true" NC:fileExtensions="pdf" NC:description="PDF-Dokument">
> <NC:handlerProp RDF:resource="urn:mimetype:handler:binary/octet-stream"/>
> </RDF:Description>

]FIG]


[FIG(quote)[
[FIGCAPTION[
[7] [CITE@en[HTTP Headers and Query String Parameters - Cloud Storage — Google Cloud Platform]]
([TIME[2015-05-27 08:55:19 +09:00]] 版)
<https://cloud.google.com/storage/docs/reference-headers#contenttype>
]FIGCAPTION]

> If you do not specify a content type when you upload an object, the Google Cloud Storage system defaults to binary/octet-stream when it serves the object.

]FIG]
