nodeSolidServer / nodeSolidServer/node-solid-server
Adding Support for ACL mime-types.
未关闭
还没有人认领这个 Issue。
feature
- 主要语言
- JavaScript
- 星标
- 1.8k
- 派生
- 308
- PR 合并指标
- 30 天内没有已合并 PR
描述
I noticed there is no support for uploading acl files since there is no well-defined mime-type. Because of this, if I try and POST an acl file into a container it will automatically add an unwanted file extension. This may be a one-line fix by adding the line
extensions['text/acl'] = ['acl']
to the top of ./lib/handlers/post.js.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 lib/handlers/post.js 开始,issue 在此标识了 MIME 扩展名映射。检查现有的 upload 处理以及扩展名条目附近的约定。当 ACL upload 保留 .acl 文件名且没有多余扩展名时,即表示完成;如果没有可用的被引用测试,请手动验证 POST 行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100