#33 Documented Core/

This commit is contained in:
Pierre-Olivier Latour
2014-04-19 12:50:58 -03:00
parent 5a26a09d8e
commit 5d82a80a34
8 changed files with 831 additions and 70 deletions
+1 -1
View File
@@ -81,7 +81,7 @@
- (id)initWithResponse:(GCDWebServerResponse*)response reader:(id<GCDWebServerBodyReader>)reader {
if ((self = [super initWithResponse:response reader:reader])) {
response.contentLength = NSNotFound; // Make sure "Content-Length" header is not set since we don't know it (client will determine body length when connection is closed)
response.contentLength = NSNotFound; // Make sure "Content-Length" header is not set since we don't know it
[response setValue:@"gzip" forAdditionalHeader:@"Content-Encoding"];
}
return self;