Skip to content

Commit fe43f52

Browse files
committed
Merge branch 'master' of github.com:agentzh/lua-resty-upload
2 parents 00e0d75 + 79810be commit fe43f52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ Synopsis
7272

7373
A typical output of the /test location defined above is:
7474

75+
```json
7576
read: ["header",["Content-Disposition","form-data; name=\"file1\"; filename=\"a.txt\"","Content-Disposition: form-data; name=\"file1\"; filename=\"a.txt\""]]
7677
read: ["header",["Content-Type","text\/plain","Content-Type: text\/plain"]]
7778
read: ["body","Hello"]
@@ -84,6 +85,7 @@ A typical output of the /test location defined above is:
8485
read: ["part_end"]
8586
read: ["eof"]
8687
read: ["eof"]
88+
```
8789

8890
You can use the [lua-resty-string](https://github.com/agentzh/lua-resty-string) library to compute SHA-1 and MD5 digest of the file data incrementally. Here is such an example:
8991

0 commit comments

Comments
 (0)