| [View Project]Title: | http-handler | | Synopsis: A DOS handler for HTTP access. |
Title: | WebDAV... version 3... 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.
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 easy.
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 by: | chris | Created at: | 20120219 01:19 | Comments: | 0 | [View Comments] |
|