mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-05-13 00:02:02 +08:00
Updated to "instancetype" type
This commit is contained in:
@@ -185,7 +185,7 @@ static NSData* _dashNewlineData = nil;
|
||||
return @"multipart/form-data";
|
||||
}
|
||||
|
||||
- (id)initWithMethod:(NSString*)method url:(NSURL*)url headers:(NSDictionary*)headers path:(NSString*)path query:(NSDictionary*)query {
|
||||
- (instancetype)initWithMethod:(NSString*)method url:(NSURL*)url headers:(NSDictionary*)headers path:(NSString*)path query:(NSDictionary*)query {
|
||||
if ((self = [super initWithMethod:method url:url headers:headers path:path query:query])) {
|
||||
NSString* boundary = GCDWebServerExtractHeaderParameter(self.contentType, @"boundary");
|
||||
if (boundary) {
|
||||
|
||||
Reference in New Issue
Block a user