mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-28 20:58:31 +00:00
More docs
This commit is contained in:
1 parent
5f631c0b96
commit
1252a61479
1 file changed
+2
-3
+2
-3
@@ -714,9 +714,8 @@ int mg_http_upload(struct mg_connection *, struct mg_http_message *hm,
|
|||||||
|
|
||||||
Handle file upload. See [file upload example](https://github.com/cesanta/mongoose/tree/master/examples/file-upload).
|
Handle file upload. See [file upload example](https://github.com/cesanta/mongoose/tree/master/examples/file-upload).
|
||||||
|
|
||||||
This function sets up a built-in event handler that expects a series of
|
This function expects a series of POST requests with file data. POST requests
|
||||||
POST requests with file data. POST requests should have `name` and `offset`
|
should have `name` and `offset` query string parameters set:
|
||||||
query string parameters set:
|
|
||||||
|
|
||||||
```text
|
```text
|
||||||
POST /whatever_uri?name=myfile.txt&offset=1234 HTTP/1.0
|
POST /whatever_uri?name=myfile.txt&offset=1234 HTTP/1.0
|
||||||
|
|||||||
Reference in new issue
Block a user