NSURLRequest 307 Redirect not cached

I'm using NSURLSession dataTask(... to retrieve an image from a webservice. The image is delivered with a 307 temporary redirect from a CDN.
If I understand the available documentation for 307 redirects correctly the redirect should be cached according to the caching information in the Header. However this is not working and every access to the image triggers a new request to the first webservice therefore breaking any offline-caching of the images.
Shouldn't the 307 redirect be cached? Is this a Bug in NSURLSession or NSURLRequest? Am I missing some configuration?

BTW: I've temporarly changed the 307 redirect to a permanent 301 redirect. Offline-Caching is wirking fine that way but using a permanent redirect is not the solution.