質問編集履歴

1

responseの内容を追記しました

2017/02/23 08:45

投稿

tn_mrmn
tn_mrmn

スコア16

test CHANGED
File without changes
test CHANGED
@@ -91,3 +91,31 @@
91
91
  }
92
92
 
93
93
  ```
94
+
95
+
96
+
97
+ ちなみにresponseで得られた結果は以下の通りとなります。
98
+
99
+
100
+
101
+ { URL: https://testapi.com } { status code: 200, headers {
102
+
103
+ Connection = "Keep-Alive";
104
+
105
+ "Content-Length" = 208;
106
+
107
+ "Content-Type" = "application/json;charset=UTF-8";
108
+
109
+ Date = "Thu, 23 Feb 2017 08:33:50 GMT";
110
+
111
+ "Keep-Alive" = "timeout=15";
112
+
113
+ "Set-Cookie" = "JSESSIONID=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; Path=/xxxx/; Secure; HttpOnly";
114
+
115
+ Vary = "Accept-Encoding";
116
+
117
+ } }
118
+
119
+
120
+
121
+ HttpOnlyが少し気になります・・・