-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: inflates JSON mime types to JSON objects for store
- Loading branch information
Showing
3 changed files
with
149 additions
and
3 deletions.
There are no files selected for viewing
99 changes: 99 additions & 0 deletions
99
src/__recordings__/expands-JSON-response-to-JSON-object_2860943037/recording.har
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"log": { | ||
"_recordingName": "expands JSON response to JSON object", | ||
"creator": { | ||
"comment": "persister:fs", | ||
"name": "Polly.JS", | ||
"version": "4.0.4" | ||
}, | ||
"entries": [ | ||
{ | ||
"_id": "7638f8072f801ac2dcff82b36b3e0d76", | ||
"_order": 0, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 0, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"_fromType": "array", | ||
"name": "accept", | ||
"value": "*/*" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "user-agent", | ||
"value": "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "accept-encoding", | ||
"value": "gzip,deflate" | ||
}, | ||
{ | ||
"_fromType": "array", | ||
"name": "connection", | ||
"value": "close" | ||
}, | ||
{ | ||
"name": "host", | ||
"value": "localhost:8080" | ||
} | ||
], | ||
"headersSize": 192, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "GET", | ||
"queryString": [], | ||
"url": "http://localhost:8080/" | ||
}, | ||
"response": { | ||
"bodySize": 10, | ||
"content": { | ||
"mimeType": "application/json", | ||
"size": 10, | ||
"text": { | ||
"a": true | ||
} | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "content-type", | ||
"value": "application/json" | ||
}, | ||
{ | ||
"name": "date", | ||
"value": "Sat, 04 Apr 2020 05:35:52 GMT" | ||
}, | ||
{ | ||
"name": "connection", | ||
"value": "close" | ||
}, | ||
{ | ||
"name": "transfer-encoding", | ||
"value": "chunked" | ||
} | ||
], | ||
"headersSize": 118, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 200, | ||
"statusText": "OK" | ||
}, | ||
"startedDateTime": "2020-04-04T05:35:52.196Z", | ||
"time": 21, | ||
"timings": { | ||
"blocked": -1, | ||
"connect": -1, | ||
"dns": -1, | ||
"receive": 0, | ||
"send": 0, | ||
"ssl": -1, | ||
"wait": 21 | ||
} | ||
} | ||
], | ||
"pages": [], | ||
"version": "1.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters