Cache-Control is not respecting private requests on Android #25277
Labels
Bug
Platform: Android
Android applications.
Platform: Linux
Building on Linux.
Resolution: Locked
This issue was locked by the bot.
React Native version:
Steps To Reproduce
Make a request to any API using the header Cache-Control: 'private'`. (Examples below use Fetch and Axios.)
Describe what you expected to happen:
Proper response in iOS:
Proper response in Postman:
Incorrect response in Android (notice the different Cache-Control value).
Snack, code example, or link to a repository:
This is a updated version of this issue: #16795
And related to this Expo issue: expo/expo#1639
I'm relying on the Cache-Control header for specific user auth data and requests which should not be cached.
The text was updated successfully, but these errors were encountered: