Package: calypso
Severity: normal
calypso currently does not support empty request bodies for PROPFIND.
RFC2518 (section 8.1) says:
A client may choose not to submit a request body. An empty PROPFIND request
body must be treated as a request for the names and values of all properties.
With an empty request body, I get a traceback (as expected) and a 400 error
sent back to the client:
Traceback (most recent call last):
File "/home/jelmer/calypso/calypso/__init__.py", line 426, in do_PROPFIND
context)
File "/home/jelmer/calypso/calypso/xmlutils.py", line 88, in propfind
root = ET.fromstring(xml_request)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1301, in XML
return parser.close()
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: no element found: line 1, column 0
Empty request bodies are sent (among other things) by pycarddav, which is
also packaged in Debian.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.13-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages calypso depends on:
ii git 1:2.0.1-1
ii python 2.7.6-2
ii python-daemon 1.5.5-1
ii python-vobject 0.8.1c-4
calypso recommends no packages.
calypso suggests no packages.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]