Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-24 | CLOUD: Fix UploadFileClientHandler | Alexander Tkachev | |
It now redirects user on success not only when file was the last field in the content, but also when it was uploaded already and Handler worked further to search for more files. | |||
2016-08-24 | CLOUD: Do some refactoring/cleanup in Networking | Alexander Tkachev | |
2016-08-24 | CLOUD: Add "directory" form for webserver "/upload" | Alexander Tkachev | |
The attribute is Chrome-only. | |||
2016-08-24 | CLOUD: Cleanup in UploadFileClientHandler | Alexander Tkachev | |
Adds Client::noMoreContent() and Reader::noMoreContent(), which return true when whole client's request was read. | |||
2016-08-24 | CLOUD: Add UploadFileClientHandler | Alexander Tkachev | |
Now Client reads the first headers block, then LocalWebserver decides which Handler to use. In case of "/upload", UploadFileHandler is used. But now it only knows the "path" parameter. If that's valid, actual UploadFileClientHandler is created, which reads the contents of the request and, when finds there an "upload_file" field, starts saving it in the directory specified by "path". With that we don't need temp files approach from Reader class. |