質問編集履歴
1
responseの内容を追記しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -44,4 +44,18 @@
|
|
44
44
|
|
45
45
|
}.resume()
|
46
46
|
}
|
47
|
-
```
|
47
|
+
```
|
48
|
+
|
49
|
+
ちなみにresponseで得られた結果は以下の通りとなります。
|
50
|
+
|
51
|
+
{ URL: https://testapi.com } { status code: 200, headers {
|
52
|
+
Connection = "Keep-Alive";
|
53
|
+
"Content-Length" = 208;
|
54
|
+
"Content-Type" = "application/json;charset=UTF-8";
|
55
|
+
Date = "Thu, 23 Feb 2017 08:33:50 GMT";
|
56
|
+
"Keep-Alive" = "timeout=15";
|
57
|
+
"Set-Cookie" = "JSESSIONID=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; Path=/xxxx/; Secure; HttpOnly";
|
58
|
+
Vary = "Accept-Encoding";
|
59
|
+
} }
|
60
|
+
|
61
|
+
HttpOnlyが少し気になります・・・
|