Commit Graph

7 Commits

Author SHA1 Message Date
Simon Ser
7cb302246b
internal: add NewPropfindResponse helper 2020-01-17 14:40:29 +01:00
Simon Ser
5fe39bbc13
internal: remove xml.Name arg from Response.DecodeProp
The xml.Name is now retrieved from the interface{} argument via
reflection.
2020-01-15 11:44:27 +01:00
Simon Ser
ee5864490e
internal: make sure rawXMLValueReader is an xml.TokenReader 2020-01-15 11:16:30 +01:00
Simon Ser
44f7f84ef5
internal: add EncodeRawXMLElement 2020-01-15 11:14:34 +01:00
Simon Ser
87a88d6723
Generate PROPFIND request body
Instead of a hardcoded string, generate it with encoding/xml.
2020-01-14 20:00:54 +01:00
Simon Ser
6f9ff62747
internal: add RawXMLValue.Decode 2020-01-14 18:53:29 +01:00
Simon Ser
055a297f6e
internal: add RawXMLValue to defer XML encoding/decoding 2020-01-14 17:54:03 +01:00