1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/lib/router
Arunoda Susiripala f4337d3072 Make sure reading the body of same JSON page request safe. (#1185)
* Make sure reading the body of same JSON page request safe.
It's not possible to read the body twice from fetch()'s response
So, we've to clone the response before doing anything.

* Fix tests.
2017-02-17 01:12:32 -03:00
..
index.js Introduce a simple prefetching solution (#957) 2017-02-15 14:22:22 +05:30
router.js Make sure reading the body of same JSON page request safe. (#1185) 2017-02-17 01:12:32 -03:00