We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07582bd commit 1452a2aCopy full SHA for 1452a2a
app/Main.hs
@@ -332,8 +332,10 @@ doMkCol urlPath = do
332
return ""
333
334
doPropFind::[String]->Element->Handler [(String, FSObject)]
335
-doPropFind urlPath body = do
336
- liftIO $ putStrLn $ "In doPropFind: " ++ show body
+doPropFind urlPath doc = do
+ --TODO - check that the xml path element names are all correct....
337
+ let propNames = [qName $ elName x | Elem x <- concat $ map elContent $ [x | Elem x <- elContent doc]]
338
+ liftIO $ putStrLn $ "In doPropFind: " ++ show propNames
339
let fullPath = "/" ++ intercalate "/" urlPath
340
341
maybeObject <- liftIO $ getObject fullPath
0 commit comments