apple / ccs-caldavtester

CalDAV/CardDAV Testing Framework used by CalendarServer
https://www.calendarserver.org
Apache License 2.0
57 stars 36 forks source link

Allow 400 (Bad Request) for bad requests #12

Open macosforgebot opened 14 years ago

macosforgebot commented 14 years ago

douglm@… originally submitted this as ticket:389


Validator prepostcondition only allows 403, 409, 507 as a status even though 400 seems valid and sometimes more appropriate (e..g non-UTC datetime in time-range):

DAV says

Servers MAY reject questionable requests (even though
   they consist of well-formed XML), for instance, with a 400 (Bad
   Request) status code and an optional response body explaining the
   problem.
macosforgebot commented 13 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:389

macosforgebot commented 12 years ago

@wsanchez originally submitted this as comment:2:⁠ticket:389