File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ public function parseResponse(Response $response)
121121 $ jsoned = json_decode ($ content );
122122
123123 if (json_last_error () == JSON_ERROR_NONE ) {
124- $ content = json_encode ($ jsoned , JSON_PRETTY_PRINT );
124+ $ content = json_encode ($ jsoned , JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE );
125125 }
126126
127127 $ lang = 'json ' ;
@@ -132,8 +132,8 @@ public function parseResponse(Response $response)
132132 }
133133
134134 return [
135- 'headers ' => json_encode ($ response ->headers ->all (), JSON_PRETTY_PRINT ),
136- 'cookies ' => json_encode ($ response ->headers ->getCookies (), JSON_PRETTY_PRINT ),
135+ 'headers ' => json_encode ($ response ->headers ->all (), JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE ),
136+ 'cookies ' => json_encode ($ response ->headers ->getCookies (), JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE ),
137137 'content ' => $ content ,
138138 'language ' => $ lang ,
139139 'status ' => [
You can’t perform that action at this time.
0 commit comments