Cached responses yield 412 Precondition Failed
#70
Labels
help wanted
Issues the Apollo team would love help from the community about
412 Precondition Failed
#70
I created an app using Githubs API, and noticed that the default cache policy was preventing all but the first request to succeed.
Failed response:
If I set
configuration.requestCachePolicy = .reloadIgnoringLocalCacheData
the issue goes awayhttps://github.com/davidmuzi/graphql-ios-presentation/blob/2-queries/Projects/Projects/MasterViewController.swift#L25 (edited)
The httpBody and requestHeaders appear identical before the sessionTask is executed
The text was updated successfully, but these errors were encountered: