Commit Graph

10 Commits

Author SHA1 Message Date
Randall Schmidt
f49d0939d6 support streaming response 2021-06-11 14:03:42 -04:00
Randall Schmidt
be468439af only allow body to be consumed once, add some tests 2021-06-11 14:03:42 -04:00
Randall Schmidt
7e5c71ffe7 add support for FormData 2021-06-11 14:03:41 -04:00
Randall Schmidt
206d6784d1 handle fs read streams 2021-06-11 14:03:41 -04:00
Randall Schmidt
077b92ebaa add tests for string body and URLSearchParams bodies 2021-06-11 14:03:26 -04:00
Randall Schmidt
1df05c2584 dont error if ejectFromCache is called when the response is already not cached 2021-06-11 14:03:26 -04:00
Randall Schmidt
49741e9608 add test for cache ejection 2021-06-11 14:03:25 -04:00
Randall Schmidt
8833c2276e add tests, fix flawed logic 2021-06-11 14:03:25 -04:00
Randall Schmidt
37daa38c7c implement new expanded response caching logic 2021-06-11 14:03:19 -04:00
Randall Schmidt
e6ac859d1c add test boilerplate 2021-06-11 14:03:02 -04:00