Skip to content

Commit 83d2aac

Browse files
authored
Clean up
1 parent e77b9b2 commit 83d2aac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/https.ios.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,7 @@ export function request(opts: Https.HttpsRequestOptions): Promise<Https.HttpsRes
137137
return new Promise((resolve, reject) => {
138138
try {
139139
const manager = AFHTTPSessionManager.alloc().initWithBaseURL(NSURL.URLWithString(opts.url));
140-
//const contentType = (<any>opts.headers['Content-Type']).substring(0, 16);
141140
if (opts.headers && (<any>opts.headers['Content-Type']).substring(0, 16) === 'application/json') {
142-
console.log(opts.headers['Content-Type'])
143141
manager.requestSerializer = AFJSONRequestSerializer.serializer();
144142
manager.responseSerializer = AFJSONResponseSerializer.serializerWithReadingOptions(NSJSONReadingOptions.AllowFragments);
145143
} else {

0 commit comments

Comments
 (0)