Thanks for your reply @meaton!
Yes, I see the same issue for POST requests as well.
But why the caching is happening only based on the base URL? Shouldn't it consider the header informations too?
In some very rare cases it can happen with the URL, but typically the cached data is looked up based on URL, body data, or header data.
The POST request with body should not be cached. I logged an issue (FB10141204) in the past and it is fixed in iOS 16.
Is this a bug that request matching is not considering the header data/information?
Thanks for your reply @meaton!
Yes, I see the same issue for POST requests as well.
But why the caching is happening only based on the base URL? Shouldn't it consider the header informations too?
In some very rare cases it can happen with the URL, but typically the cached data is looked up based on URL, body data, or header data.
The POST request with body should not be cached. I logged an issue (FB10141204) in the past and it is fixed in iOS 16.
Is this a bug that request matching is not considering the header data/information?