jmw_90266 has asked for the wisdom of the Perl Monks concerning the following question:
Based on looking at packet captures and the debug data, it seems like the HTTP::DAV module is not passing the specified credentials. It appears that module just stops at receiving the initial unauthorized response from the server instead of continuing with the handshake and choosing an authentication protocol.#!/usr/bin/perl -w use strict; use HTTP::DAV; my $d = new HTTP::DAV; my $url = "http://myurl"; my $file = "myfile.xls"; $d->DebugLevel(3); $d->credentials(-realm => "myrealm",-user=>"myusername",-pass =>"mypas +sword" ); $d->open( -url=>"$url" ); print $d->message . "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IIS, SharePoint, and HTTP::DAV
by almut (Canon) on Oct 30, 2008 at 20:37 UTC | |
by jmw_90266 (Acolyte) on Oct 31, 2008 at 18:04 UTC | |
by jmw_90266 (Acolyte) on Nov 01, 2008 at 04:52 UTC |