Comments (2)
是的,infer 库是根据文件内容来判断文件格式的,这个库包含了大多数常用的文件格式判断,由于 .log
, .md
的文件内容千变万化,无法根据 Infer 库来匹配,为了保持库的通用性,减少主观因素,这个只能是谁需要,谁来处理了
from oss-rs.
当获取不到文件的 content-type 时,默认使用 application/octet-stream 也许是一个不错的选择,Self::DEFAULT_CONTENT_TYPE
from oss-rs.
Related Issues (16)
- Support STS token HOT 1
- 如何获取object_list里的返回值? HOT 3
- 关于 Object 的 key HOT 4
- 异步的方式如何获取下一页数据? HOT 1
- 需要判断bucket中是否存在某个object应该怎么做 HOT 8
- 当独立使用 auth ,xml解析等模块时,不再依赖无关的依赖项
- get_object_list callback `prefix` field should be Vec<String> HOT 3
- 获取客户端实例那一行直接报错 HOT 2
- CommonPrefixes 转 ObjectPath 的问题 HOT 6
- 初学者的一点疑惑 HOT 3
- Endpoint中美东美西地址错误 HOT 3
- 在URL中包含签名怎么实现 HOT 3
- [BUG]在URL中包含签名需要对objectpath进行urlencode HOT 5
- 使用get_object下载图片,图片的体积会增加1倍左右,且文件打不开,该如何破 HOT 2
- endpoint 设置了 internal 无效 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oss-rs.