Hello
I’m not sure anyone works with S3, but in case you are… after upgrading to ios 8, due to some additional headers sent by ios, some of the operations will break, mainly the DELETE operation.
On iOS 8, there’s an additional header If-Modified-Since added, which is not handled by Amazon.
As a workaround you might want to add this to your headers:
{ ... "ResponseCacheControl" = "no-cache" ... }
This will make all of the request work again.
For more details please visit:
https://github.com/aws/aws-sdk-js/issues/376#issuecomment-58123011
EDIT:
unfortunately the above didn’t work. The header is still sent and it still ends up in the file not removed from S3.
I am not sure how networking works, but it seems it does rely on the native SDK from apple. I am wondering if you know of any way how I could remove this header from automatically being created?
EDIT2:
Found a workaround the problem. Normally I add the os.time() to every request I send so that none of the responses are cached, but this time I got my file and sent a DELETE request within same second, so the url was the same. Adding system.getTimer() fixed it.
Krystian