gecko-dev/mobile
Grigory Kruglov 8009760a1c Bug 1346438 - Specify X-I-U-S header value while uploading meta/global r=nalexander
We upload meta/global in three scenarios:
- fresh start
- when it was modified after a successful sync
- when it was modified after an aborted sync

Use X-I-U-S header to assert what we believe about meta/global's presence (during freshStart)
and last-modified timestamp (in all other cases).

We might encounter a concurrent modification condition, manifesting as a 412 error. If we see such an error:
- on fresh start, we restart globalSession
- on regular upload, we request a re-sync of all stages

MozReview-Commit-ID: 3qyb6rUSOeY

--HG--
extra : rebase_source : 166be44aceb634b4e9fa3a8e20f7047cfec2af54
2017-03-20 16:40:13 -07:00
..
android Bug 1346438 - Specify X-I-U-S header value while uploading meta/global r=nalexander 2017-03-20 16:40:13 -07:00
locales Bug 1300201 - Switch Fennec to use list.json. r=sebastian,r=flod 2017-03-09 14:58:57 -06:00