Changes between Version 3 and Version 4 of HttpServerExample
- Timestamp:
- 04/20/12 15:24:51 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HttpServerExample
v3 v4 28 28 bool 29 29 sendFile(in char[] name, OutputStream dst){ 30 c har[] fullName = DOCROOT ~ name;31 char[]mtype;30 const(char)[] fullName = DOCROOT ~ name; 31 string mtype; 32 32 // Check if file exists 33 33 auto p = tango.io.Path.parse(fullName); 68 68 } 69 69 70 intfsize = fileSize(fullName);70 ulong fsize = fileSize(fullName); 71 71 auto layout = new Layout!(char); 72 72