synchrone / sandstorm-radicale

A calendars and contacts app for Sandstorm.io
https://apps.sandstorm.io/app/8kr4rvyrggvzfvc160htzdt4u5rfvjc2dgdn27n5pt66mxa40m1h
13 stars 3 forks source link

Unauthenticated static OPTIONS response #11

Closed synchrone closed 8 years ago

synchrone commented 8 years ago

CardDAV/CalDAV's DAV: header needs some magic values as per RFC4791, Section 5.1. iOS does unauthenticated requests to check them. This pullrequest sets them stub responses up. (depends on sandstorm-io/sandstorm#1602 to get merged)

kentonv commented 8 years ago

Note that I renamed the parameter from static to unauthenticated. Please update accordingly.

Also, please be sure to pass the exact same value for this parameter to both offer templates (the one generating the host and the one generating the password), otherwise Sandstorm will generate two different host/token pairs that don't work together.