blob: 2f81ecde0c38432e96ec6a8c201d4d45c82f5fc6 (
plain) (
tree)
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [99s-extend] callbacks for additional methods
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20callbacks%20for%20additional%20methods&In-Reply-To=%3C1424040658.19383.6.camel%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Next" HREF="000511.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[99s-extend] callbacks for additional methods</H1>
<B>Paul Dickson</B>
<A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20callbacks%20for%20additional%20methods&In-Reply-To=%3C1424040658.19383.6.camel%40gmail.com%3E"
TITLE="[99s-extend] callbacks for additional methods">pdtwonotes at gmail.com
</A><BR>
<I>Sun Feb 15 23:50:58 CET 2015</I>
<P><UL>
<LI>Next message: <A HREF="000511.html">[99s-extend] Body length and content-length mismatch
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#510">[ date ]</a>
<a href="thread.html#510">[ thread ]</a>
<a href="subject.html#510">[ subject ]</a>
<a href="author.html#510">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I am writing a CalDAV handler, which is a type of WebDAV server. CalDAV
defines a bunch of
additional methods beyond what a typical web browser would use, such as
REPORT and PROPFIND.
I have written the allowed_methods and known_methods callbacks to report
that all these methods
are acceptable. My content_types_provided has an entry for
"application/xml", which is how these
extra methods turn up.
When I connect to my server using the calendar function of Evolution,
one of the first things it does
is a REPORT method, which is sort of a query. This gets as far as
content_types_provided, but after
that it does not call the function I identified in
content_types_provided.
What is the best way to handle the non-standard methods that do not have
defined callbacks?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150215/9d2f5de1/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20150215/9d2f5de1/attachment.html</A>>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Next message: <A HREF="000511.html">[99s-extend] Body length and content-length mismatch
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#510">[ date ]</a>
<a href="thread.html#510">[ thread ]</a>
<a href="subject.html#510">[ subject ]</a>
<a href="author.html#510">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>
|