Applying WebDAV Patch to Libwww

You have two ways to apply this patch into libwww source code, an easy way and a "not so easy" way. For the easy way, you should follow these instructions:

  1. change to your libwww distribution directory and backup it (it's always a good idea)! For example:

    cd <topsrcdir>

    tar -cvzf libwww5.3.2.Backup.tar.gz libwww5.3.2/

  2. copy the file sourcesDAV.tar to your <topsrcdir>/libwww5.3.2/ directory

  3. inside your <topsrcdir>/libwww5.3.2/ directory, uncompress the file sourcesDAV.tar.

  4. re-build your configure using (it will produce some warnings, but it's normal):

    aclocal; autoheader; automake; autoconf

  5. run configure in your libwww with WebDAV support (you may also configure with extension methods using --with-extension):

    ./configure --with-dav --with-extension <your habitual options>

    make

The "not so easy" way is using patch command. The "txt" files in libwwwDAV/docs directory have been produced using "diff -c -b -t" command. You may use them to apply the modifications. I suggest you to use "patch -b -l --verbose <a_diff_file> <your_libwww_original_file" for each file. Of course, before do this, you should follow the steps 1 and 2 from the above instructions.

Note: the example files "myext*.c" (which demonstrates the use of the new "extension method" _ see HTMethod.html for more details) needs the option --with-extension in configure and also the XML module.

Known Bugs

This patch have been tested only in a few Linux systems against Apache web server. So, I'm sure there is many bugs waiting for us in this code... But, at this specific moment, the known bugs are :

Acknowledgments

Very special thanks to the members of the libwww discussion list. Thanks to Josh Watts, Steinar Bang, Xinju Wang, and many others who contributed with WebDAV discussions in libwww mailing list. Without your contributions this "patch" was impossible. Thanks also to Jose Kahan and all W3C staff and to INRIA Rhone-Alpes staff.

Legal Note

Libwww is a Copyright from W3C (MIT, INRIA, Keio ), All Rights Reserved. W3C liability, trademark, document use and software licensingrules apply. Read W3CŪ Intellectual Property Notice and Legal Disclaimers before use it.

WebDAV module for Libwww was written by Manuele Kirsch Pinheiro, as part of Project CEMT.