Added -description methods

This commit is contained in:
Pierre-Olivier Latour
2014-04-09 13:44:53 -07:00
parent 4008b5b476
commit 97929f7d89
10 changed files with 112 additions and 7 deletions
+7
View File
@@ -73,6 +73,13 @@
return data;
}
- (NSString*)description {
NSMutableString* description = [NSMutableString stringWithString:[super description]];
[description appendString:@"\n\n"];
[description appendString:GCDWebServerDescribeData(_data, self.contentType)];
return description;
}
@end
@implementation GCDWebServerDataResponse (Extensions)