Make default implementation for GCDWebServerRequest and GCDWebServerResponse ignore bodies

This commit is contained in:
Pierre-Olivier Latour
2014-04-07 19:30:57 -07:00
parent 4b46c95a78
commit 047a0604bf
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -249,8 +249,7 @@
} }
- (BOOL)writeData:(NSData*)data error:(NSError**)error { - (BOOL)writeData:(NSData*)data error:(NSError**)error {
[self doesNotRecognizeSelector:_cmd]; return YES;
return NO;
} }
- (BOOL)close:(NSError**)error { - (BOOL)close:(NSError**)error {
+1 -2
View File
@@ -212,8 +212,7 @@
} }
- (NSData*)readData:(NSError**)error { - (NSData*)readData:(NSError**)error {
[self doesNotRecognizeSelector:_cmd]; return [NSData data];
return nil;
} }
- (void)close { - (void)close {