Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhapuyu committed Mar 15, 2016
1 parent 14af2a8 commit 505f2ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
| 备注 | expire为时间戳;filename可为空,但不能带"/",且不支持中文 |
| 请求内容 | data bytes |
| 响应码 | 200 |
| 响应头 | Connection: close<br> Code: 200<br> ETag:xxxxxxxxxx(sha1sum值)<br> Location: ${location}<br> Date: Wed,22 Feb 2016 08:32:21 GMT |
| 响应头 | Code: 200<br> ETag:xxxxxxxxxx(sha1sum值)<br> Location: ${location}<br> |
| 响应内容 ||
| 示例 | PUT /live/my-image.jpg HTTP/1.1<br> Host: $host<br> Date: ${GMT date}<br> Authorization:ak_live:NsPFsxwMyYwLX4cXKnN1cD_34sg=:1387948120<br> Content-Type: image/jpg<br> |
###2.下载
Expand Down Expand Up @@ -52,7 +52,7 @@
| 备注 | expire为时间戳;filename可为空,但不能带"/",且不支持中文 |
| 请求内容 ||
| 响应码 | 200 |
| 响应头 | Date: Wed,22 Feb 2016 08:32:21 GMT |
| 响应头 | Server: Bfs |
| 响应内容 ||
| 示例 | DELETE /live/my-image.jpg HTTP/1.1<br> Host: $host<br> Date: ${GMT date}<br> Authorization:ak_live:NsPFsxwMyYwLX4cXKnN1cD_34sg=:1387948120<br> |
###4.HEAD
Expand Down

0 comments on commit 505f2ad

Please sign in to comment.