Repository navigation
Commit ff5d57f
committed
fix(http-cache): honour Clear-Site-Data when a platform response's body read fails
The platform transport returned on a failed body read before it looked
at Clear-Site-Data, so a 2xx carrier whose body timed out left the
origin's cached modules in place. The header is now processed once the
stream is closed, whatever the read did, as on the OkHttp transport.1 parent e472c4c commit ff5d57f
1 file changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
980 | 980 | | |
981 | 981 | | |
982 | 982 | | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
992 | 986 | | |
993 | 987 | | |
994 | 988 | | |
| |||
1001 | 995 | | |
1002 | 996 | | |
1003 | 997 | | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
1004 | 1005 | | |
1005 | 1006 | | |
1006 | 1007 | | |
| |||
0 commit comments