diff options
author | Justin Dickow <jjdickow@gmail.com> | 2016-03-09 17:17:05 -0500 |
---|---|---|
committer | Justin Dickow <jjdickow@gmail.com> | 2016-03-09 17:17:05 -0500 |
commit | e92ab66818e002ade554765c7de9d3cf8cdb38ff (patch) | |
tree | ad557bbb3a308ec0325dea3a1ae179fb3abc734c | |
parent | dccfcd5fadf2ae093e6d8eb951181ea646874db4 (diff) | |
download | sdl_ios-e92ab66818e002ade554765c7de9d3cf8cdb38ff.tar.gz |
Use "application/json" as the content-type
-rw-r--r-- | SmartDeviceLink-iOS/SmartDeviceLink/SDLProxy.m | 1 |
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 |