File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ - (NSURLSessionConfiguration* )configuration {
176
176
NSString *version = sdkVersion;
177
177
configuration.HTTPAdditionalHeaders = @{
178
178
@" User-Agent" : userAgent,
179
- @" X-User-Agent" : [NSString stringWithFormat: @" %@ /%@ " ,userAgent ,version]
179
+ @" X-User-Agent" : [NSString stringWithFormat: @" contentstack-ios /%@ " ,version]
180
180
};
181
181
182
182
}
@@ -302,7 +302,7 @@ - (NSMutableURLRequest *)urlRequestForStack:(Stack*)stack
302
302
303
303
NSString *userAgent = [self userAgent ];
304
304
NSString *version = sdkVersion;
305
- [request setValue: [NSString stringWithFormat: @" %@ /%@ " ,userAgent ,version] forHTTPHeaderField: @" X-User-Agent" ];
305
+ [request setValue: [NSString stringWithFormat: @" contentstack-ios /%@ " ,version] forHTTPHeaderField: @" X-User-Agent" ];
306
306
[request setValue: userAgent forHTTPHeaderField: @" User-Agent" ];
307
307
308
308
return request;
You can’t perform that action at this time.
0 commit comments