Actions
Bug #1582
closedWFileResource: errors if suggestFileName and file is empty or not found
Start date:
11/28/2012
Due date:
% Done:
0%
Estimated time:
Description
Hello!
WFileResource:
- suggestFileName
- mime type for application
- file is empty or not found
Empty file was created using
touch empty-file.txt
Then Wt produces 416 (or 404 for not found) so that application state is lost.
For empty files empty downloadable attachment should be produced.
I am not sure about not found files. Maybe current behaviour is OK for them.
This bug is reproducable in Wt 3.2.3, but not in Wt 3.2.1
Files
Updated by Wim Dumon almost 12 years ago
- Status changed from New to Resolved
404 should be produced when file not found (what else?). 416 was wrong; a fix will be available in git version soon.
Best regards,
Wim.
Updated by Koen Deforche almost 12 years ago
- Status changed from Resolved to Closed
- Assignee set to Koen Deforche
- Target version set to 3.3.0
Actions