1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Fix typos; separate out testing commands from successful outputs/results

Alex Claman 2024-10-31 13:36:34 -04:00
parent e73c18ac95
commit e3dd53e227

@ -71,6 +71,11 @@ Direct connection tests, for tests via reverse proxy see [Reverse-Proxy-Diagnost
```
curl http://localhost:5232/
```
Successful result:
```
Redirected to /.web
```
@ -89,19 +94,24 @@ Successful result depends on auth and permission
- config option: `type` + `file`
### Without autentication
### Without authentication
```
curl -s --request PROPFIND http://localhost:5232/
Access to the requested resource forbidden.
```
### With autentication
### With authentication
#### Depth: 0
```
curl -s --header 'Depth: 0' --request PROPFIND -u USER1:USERPASS1 http://localhost:5232/ | xmllint --format - | grep "<href>"
```
Successful result:
```
<href>/</href>
<href>/</href>
<href>/USER1/</href>
@ -111,6 +121,11 @@ curl -s --header 'Depth: 0' --request PROPFIND -u USER1:USERPASS1 http://localho
```
curl -s --header 'Depth: 1' --request PROPFIND -u USER1:USERPASS1 http://localhost:5232/ | xmllint --format - | grep "<href>"
```
Successful result:
```
<href>/</href>
<href>/USER1/</href>
```
@ -121,6 +136,11 @@ curl -s --header 'Depth: 1' --request PROPFIND -u USER1:USERPASS1 http://localho
```
curl -s --header 'Depth: 1' --request PROPFIND -u USER1:USERPASS1 http://localhost:5232/USER1/ | xmllint --format - | grep -E "(^ <href>|displayname|C:calendar-description)"
```
Successful result:
```
<href>/USER1/</href>
<href>/USER1/mycalendar1/</href>
<displayname>MyCalendar1</displayname>