Error when creating a contact that has a photo when using CardDAV with iCloud
To reproduce
- Follow the instruction in #100 to sync your address book from iCloud via CardDAV
- In Contacts, create a new contact and add a photo for it
- Save the contact
What should happen
The contact should be created and the photo uploaded to the CardDAV server.
What actually happens
Error: Failed to put data: HTTP error code 403 (Forbidden): Was asked to offload a photo, but it was not an allowable type.