davical/testing/tests/regression-suite/0248-Bad-PROPFIND.test
Andrew McMillan ac190c7277 Fix bugs in previous commit. Plus regression tests for it.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-07 09:39:16 +13:00

20 lines
588 B
Plaintext

#
# Do a PROPFIND request with junk in the request
#
TYPE=PROPFIND
URL=http://mycaldav/caldav.php/user1/home
HEAD
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20061013 Thunderbird/1.5.0.7
HEADER=Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HEADER=Accept-Language: en-us,en;q=0.5
HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HEADER=Content-Type: text/xml
HEADER=Depth: 0
BEGINDATA
<?xml version="1.0" encoding="utf-8" ?>
<D:propfind xmlns:D="DAV:"><D:allprops></D:propfind>
ENDDATA