Added -hasByteRange API

This commit is contained in:
Pierre-Olivier Latour
2014-04-07 19:29:04 -07:00
parent c51f9ad7d9
commit fb08e77c0c
4 changed files with 10 additions and 1 deletions
+4
View File
@@ -237,6 +237,10 @@
return _type ? YES : NO;
}
- (BOOL)hasByteRange {
return GCDWebServerIsValidByteRange(_range);
}
- (BOOL)open:(NSError**)error {
return YES;
}