mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-01 01:23:35 +00:00
This allows us to have more complex test files where an action is taken, then we test something, then another action is taken, etc. Changes to test files are required so that URL is defined after all the required settings are set. Changes to the result files are either whitespace changes due to above logic changes, or printing out a SQL Result header before each result. I figured it was useful.
117 lines
3.0 KiB
Plaintext
117 lines
3.0 KiB
Plaintext
HTTP/1.1 200 OK
|
|
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
|
Content-Length: 2962
|
|
Content-Type: application/xml; charset="utf-8"
|
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
<capabilities xmlns="urn:ietf:params:xml:ns:timezone-service">
|
|
<info>
|
|
<primary-source>Olson tzdata-latest
|
|
</primary-source>
|
|
<contact>mailto:admin@davical.example.com</contact>
|
|
</info>
|
|
|
|
<operation>
|
|
<action>list</action>
|
|
<description>List timezone identifiers and localized forms
|
|
</description>
|
|
|
|
<accept-parameter>
|
|
<name>lang</name>
|
|
<required>false</required>
|
|
<multi>true</multi>
|
|
<description>Specify desired localized form(s)</description>
|
|
</accept-parameter>
|
|
|
|
<accept-parameter>
|
|
<name>changedsince</name>
|
|
<required>false</required>
|
|
<multi>false</multi>
|
|
<description>Limit result to timezones changed since the
|
|
given date
|
|
</description>
|
|
</accept-parameter>
|
|
|
|
<accept-parameter>
|
|
<name>returnall</name>
|
|
<required>false</required>
|
|
<multi>false</multi>
|
|
<description>If present inactive timezones will be returned.
|
|
</description>
|
|
</accept-parameter>
|
|
</operation>
|
|
|
|
<operation>
|
|
<action>get</action>
|
|
<description>
|
|
Returns one or more timezones as specified by the
|
|
tzid parameter.
|
|
</description>
|
|
|
|
<accept-parameter>
|
|
<name>format</name>
|
|
<required>false</required>
|
|
<multi>false</multi>
|
|
<value>text/calendar</value>
|
|
<value>application/calendar+xml</value>
|
|
<description>Specify required format for timezone.
|
|
</description>
|
|
</accept-parameter>
|
|
|
|
<accept-parameter>
|
|
<name>lang</name>
|
|
<required>false</required>
|
|
<multi>true</multi>
|
|
<description>Specify desired localized form(s)</description>
|
|
</accept-parameter>
|
|
|
|
<accept-parameter>
|
|
<name>tzid</name>
|
|
<required>true</required>
|
|
<multi>true</multi>
|
|
<description>Specify desired timezone identifiers
|
|
</description>
|
|
</accept-parameter>
|
|
</operation>
|
|
|
|
<operation>
|
|
<action>expand</action>
|
|
<description>
|
|
Expands the specified timezone(s) into local onset and UTC
|
|
offsets
|
|
</description>
|
|
|
|
<accept-parameter>
|
|
<name>tzid</name>
|
|
<required>true</required>
|
|
<multi>true</multi>
|
|
<description>Specify desired timezone identifiers</description>
|
|
</accept-parameter>
|
|
|
|
<accept-parameter>
|
|
<name>start</name>
|
|
<required>false</required>
|
|
<multi>false</multi>
|
|
<description>
|
|
Specify start of the period of interest. If omitted the
|
|
current year is assumed.
|
|
</description>
|
|
</accept-parameter>
|
|
|
|
<accept-parameter>
|
|
<name>end</name>
|
|
<required>false</required>
|
|
<multi>false</multi>
|
|
<description>
|
|
Specify end of the period of interest.
|
|
If omitted the current year + 10 is assumed.
|
|
</description>
|
|
</accept-parameter>
|
|
</operation>
|
|
|
|
<operation>
|
|
<action>capabilities</action>
|
|
<description>Gets the capabilities of the server</description>
|
|
</operation>
|
|
</capabilities>
|