Aktualisierte HTTP_WebDAV_Client Klasse für HTTP_Request2


Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/users/stefanwarnat/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/users/stefanwarnat/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/users/stefanwarnat/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/users/stefanwarnat/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/users/stefanwarnat/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /home/users/stefanwarnat/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /home/users/stefanwarnat/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: foreach() argument must be of type array|object, null given in /home/users/stefanwarnat/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /home/users/stefanwarnat/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700

Warning: foreach() argument must be of type array|object, null given in /home/users/stefanwarnat/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707

Da ich im Internet zu dieser Migration nichts gefunden habe, möchte ich für zukünftig Suchende hier einen Hinweis hinterlassen, für den Fall dass die Änderungen nicht in die offiziellen Archive übertragen werden.

Da ich für meine aktuelle Arbeit einen WebDAV Client in PHP brauchte, die bisher existierende PEAR Klasse  HTTP_WebDAV_Client aber nur kompatibel zu HTTP_Request war und somit nur die HTTP Basic Auth unterstützte, habe ich diese Klasse überarbeitet und an die leider nicht abwärts kompatible Version 2.0 von HTTP_Request angepasst.
Damit besteht jetzt auch die Möglichkeit die Digest Authentifizierung zu nutzen.

Der SourceCode ist in folgendem GitHub Repository zu finden: https://github.com/swarnat/HTTP_WebDAV_Client

Stefan

Schreibe einen Kommentar