summaryrefslogtreecommitdiffstats
path: root/archives/extend/attachments/20150215/9d2f5de1/attachment.html
blob: 3c8d377ced0e3620b3e98c45b7bdf7dba531c90e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<tt>
&lt;!DOCTYPE&nbsp;HTML&nbsp;PUBLIC&nbsp;&quot;-//W3C//DTD&nbsp;HTML&nbsp;4.0&nbsp;TRANSITIONAL//EN&quot;&gt;<br>
&lt;HTML&gt;<br>
&lt;HEAD&gt;<br>
&nbsp;&nbsp;&lt;META&nbsp;HTTP-EQUIV=&quot;Content-Type&quot;&nbsp;CONTENT=&quot;text/html;&nbsp;CHARSET=UTF-8&quot;&gt;<br>
&nbsp;&nbsp;&lt;META&nbsp;NAME=&quot;GENERATOR&quot;&nbsp;CONTENT=&quot;GtkHTML/4.8.5&quot;&gt;<br>
&lt;/HEAD&gt;<br>
&lt;BODY&gt;<br>
I&nbsp;am&nbsp;writing&nbsp;a&nbsp;CalDAV&nbsp;handler,&nbsp;which&nbsp;is&nbsp;a&nbsp;type&nbsp;of&nbsp;WebDAV&nbsp;server.&nbsp;&nbsp;CalDAV&nbsp;defines&nbsp;a&nbsp;bunch&nbsp;of&lt;BR&gt;<br>
additional&nbsp;methods&nbsp;beyond&nbsp;what&nbsp;a&nbsp;typical&nbsp;web&nbsp;browser&nbsp;would&nbsp;use,&nbsp;such&nbsp;as&nbsp;REPORT&nbsp;and&nbsp;PROPFIND.&lt;BR&gt;<br>
&lt;BR&gt;<br>
I&nbsp;have&nbsp;written&nbsp;the&nbsp;allowed_methods&nbsp;and&nbsp;known_methods&nbsp;callbacks&nbsp;to&nbsp;report&nbsp;that&nbsp;all&nbsp;these&nbsp;methods&lt;BR&gt;<br>
are&nbsp;acceptable.&nbsp;&nbsp;My&nbsp;content_types_provided&nbsp;has&nbsp;an&nbsp;entry&nbsp;for&nbsp;&quot;application/xml&quot;,&nbsp;which&nbsp;is&nbsp;how&nbsp;these&lt;BR&gt;<br>
extra&nbsp;methods&nbsp;turn&nbsp;up.&lt;BR&gt;<br>
&lt;BR&gt;<br>
When&nbsp;I&nbsp;connect&nbsp;to&nbsp;my&nbsp;server&nbsp;using&nbsp;the&nbsp;calendar&nbsp;function&nbsp;of&nbsp;Evolution,&nbsp;one&nbsp;of&nbsp;the&nbsp;first&nbsp;things&nbsp;it&nbsp;does&lt;BR&gt;<br>
is&nbsp;a&nbsp;REPORT&nbsp;method,&nbsp;which&nbsp;is&nbsp;sort&nbsp;of&nbsp;a&nbsp;query.&nbsp;&nbsp;This&nbsp;gets&nbsp;as&nbsp;far&nbsp;as&nbsp;content_types_provided,&nbsp;but&nbsp;after&lt;BR&gt;<br>
that&nbsp;it&nbsp;does&nbsp;not&nbsp;call&nbsp;the&nbsp;function&nbsp;I&nbsp;identified&nbsp;in&nbsp;content_types_provided.&lt;BR&gt;<br>
&lt;BR&gt;<br>
What&nbsp;is&nbsp;the&nbsp;best&nbsp;way&nbsp;to&nbsp;handle&nbsp;the&nbsp;non-standard&nbsp;methods&nbsp;that&nbsp;do&nbsp;not&nbsp;have&nbsp;defined&nbsp;callbacks?&lt;BR&gt;<br>
&lt;BR&gt;<br>
&lt;/BODY&gt;<br>
&lt;/HTML&gt;<br>

</tt>