#27 Updated API to expose range requests support

This commit is contained in:
Pierre-Olivier Latour
2014-03-19 21:15:25 -07:00
parent eb6589e27a
commit 1b163b1b8b
3 changed files with 7 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ int main(int argc, const char* argv[]) {
switch (0) {
case 0: {
[webServer addHandlerForBasePath:@"/" localPath:NSHomeDirectory() indexFilename:nil cacheAge:0];
[webServer addHandlerForBasePath:@"/" localPath:NSHomeDirectory() indexFilename:nil cacheAge:0 allowRangeRequests:YES];
break;
}