[CalendarServer-dev] [Calendar and Contacts Server] #389: Allow 400 (Bad Request) for bad requests

Calendar and Contacts Server trac at macosforge.org
Mon Jul 26 10:20:51 PDT 2010


#389: Allow 400 (Bad Request) for bad requests
----------------------------+-----------------------------------------------
 Reporter:  douglm@…        |       Owner:  cdaboo@…        
     Type:  Task            |      Status:  new             
 Priority:  5: Not set      |   Milestone:                  
Component:  CalDAV Tester   |    Severity:  Other           
 Keywords:                  |  
----------------------------+-----------------------------------------------
 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.
 }}}

-- 
Ticket URL: <http://trac.calendarserver.org/ticket/389>
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server


More information about the calendarserver-dev mailing list