Added JSON and text extensions to GCDWebServerDataRequest

This commit is contained in:
Pierre-Olivier Latour
2014-04-08 17:49:17 -07:00
parent e26c9b76ea
commit 881cc3b00c
3 changed files with 38 additions and 1 deletions
@@ -28,6 +28,6 @@
#import "GCDWebServerDataRequest.h"
@interface GCDWebServerURLEncodedFormRequest : GCDWebServerDataRequest
@property(nonatomic, readonly) NSDictionary* arguments;
@property(nonatomic, readonly) NSDictionary* arguments; // Text encoding is extracted from Content-Type or defaults to UTF-8
+ (NSString*)mimeType;
@end