summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Dickow <jjdickow@gmail.com>2016-03-09 17:17:05 -0500
committerJustin Dickow <jjdickow@gmail.com>2016-03-09 17:17:05 -0500
commite92ab66818e002ade554765c7de9d3cf8cdb38ff (patch)
treead557bbb3a308ec0325dea3a1ae179fb3abc734c
parentdccfcd5fadf2ae093e6d8eb951181ea646874db4 (diff)
downloadsdl_ios-e92ab66818e002ade554765c7de9d3cf8cdb38ff.tar.gz
Use "application/json" as the content-type
-rw-r--r--SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m
index 8fd143d03..9e94eee28 100644
--- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m
+++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m
@@ -509,6 +509,7 @@ const int POLICIES_CORRELATION_ID = 65535;
NSURL *url = [NSURL URLWithString:urlString];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url];
request.timeoutInterval = 7;
+ [request setValue:@"application/json" forHTTPHeaderField:@"content-type"];
request.HTTPMethod = @"POST";
// Logging