davical/testing/tests/carddav/2005-PUT-arbitrary.test
2010-05-20 00:11:17 +12:00

26 lines
753 B
Plaintext

#
# PUT arbitrary text into a collection (in this case an addressbook)
#
TYPE=PUT
URL=http://regression.host/caldav.php/user1/addressbook/strumar_and_beren.txt
HEADER=User-Agent: DAViCalTester/public
HEADER=Content-Type: text/plain; charset=utf-8
HEAD
BEGINDATA
Once upon a time there was an old, old man who lived with a great
white wolf. As is often the habit with men, he had not always been
quite as old as he was now. Beren had not always been this white,
either, he thought, lying across the porch and looking out at all
the youthful energy visible in the springtime forest.
ENDDATA
QUERY
SELECT caldav_data.dav_name, caldav_data.dav_etag
FROM caldav_data
WHERE caldav_data.dav_name ~ '/user1/addressbook/strumar_and_beren.txt'
ENDQUERY