Commit Graph

13 Commits

Author SHA1 Message Date
Randall Schmidt
2f5409c25c update tests 2021-06-11 15:52:15 -04:00
Randall Schmidt
7f2dba84a3 add more header tests 2021-06-11 15:25:53 -04:00
Randall Schmidt
831440152a custom caching 2021-06-11 14:12:33 -04:00
Randall Schmidt
9c9d2b88e1 support streaming response 2021-06-11 14:12:28 -04:00
Randall Schmidt
f92bd99968 only allow body to be consumed once, add some tests 2021-06-11 14:12:28 -04:00
Randall Schmidt
9241b74dde add support for FormData 2021-06-11 14:12:27 -04:00
Randall Schmidt
3b5adecd7f handle fs read streams 2021-06-11 14:12:27 -04:00
Randall Schmidt
facda80789 add tests for string body and URLSearchParams bodies 2021-06-11 14:12:26 -04:00
Randall Schmidt
8e1b57382a dont error if ejectFromCache is called when the response is already not cached 2021-06-11 14:12:26 -04:00
Randall Schmidt
371d20e933 add test for cache ejection 2021-06-11 14:12:25 -04:00
Randall Schmidt
c452c8d860 add tests, fix flawed logic 2021-06-11 14:12:25 -04:00
Randall Schmidt
bc92aa6865 implement new expanded response caching logic 2021-06-11 14:12:24 -04:00
Randall Schmidt
01bc48594e add test boilerplate 2021-06-11 14:12:24 -04:00