A DOS handler for HTTP access.
|Title:||WebDAV... with added neon|
|Text:||A quick update on this for anybody interested. After having abandoned my attempts at implementing WebDAV in the v2 betas back in 2006, this year I have taken another look at it and tried to fix the problems with it crashing or not reading directories properly. I have got mostly nowhere, due to XML being an absolute pain to parse, and (I think) my TCP/IP code not feeding the parser properly.
So I have given up on v2 and am completely reimplementing all the DOS packets for v3, using neon library which is specifically designed for WebDAV. Within a day I have recreated the "base" http-handler Open()/Read()/Close() using neon and the code is looking much simpler for it. Link resolving and seeking is also present but Seek()* is causing the handler to crash under certain conditions. SSL is not working currently as neon did not compile in support - will revisit that at a later date as it should just be a configure issue. Digest authentication should now be automatically supported however, and the new structure makes adding a prompt for credentials very easy.
The real bonus though, is Examine()* - the server querying part - is a doddle to add with this library and returns the data I need without the horrendous mess of parsing XML myself. I can dump WebDAV directory listings reliably over debug, so any other XML WebDAV work should be similarly simple.
It is finally looking good for a working WebDAV compatible version of http-handler, albeit several years later than originally intended.
* I know these are deprecated these days, but I'd rather get the old packets working before concerning myself with new ones.
|Created at:||20120219 00:20|