format things a little nicer
This commit is contained in:
+4
-2
@@ -13,13 +13,15 @@ func main() {
|
|||||||
|
|
||||||
client := &http.Client{}
|
client := &http.Client{}
|
||||||
|
|
||||||
xml := `<?xml version="1.0" encoding="UTF-8"?>
|
xml := `
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<d:propfind xmlns:d="DAV:">
|
<d:propfind xmlns:d="DAV:">
|
||||||
<d:prop>
|
<d:prop>
|
||||||
<d:displayname/>
|
<d:displayname/>
|
||||||
<d:resourcetype/>
|
<d:resourcetype/>
|
||||||
</d:prop>
|
</d:prop>
|
||||||
</d:propfind>`
|
</d:propfind>
|
||||||
|
`
|
||||||
|
|
||||||
body := strings.NewReader(xml)
|
body := strings.NewReader(xml)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user