On Wed Jan 09 03:48:16 2013, cosimo@streppone.it wrote:
Show quoted text> On 01/08/2013 10:26 PM, Tim Mullin via RT wrote:
> been
> >
> > I believe the issue preventing the merge is that this fix causes it
> to no longer detect if the file is
> > XML; and, hence, doesn't set the Content-Type to XML in the custom
> header. Apparently, this
> > might break things for some users.
> > When it was loading the entire file into memory it would test it to
> be xml like so: $content =~
> > /<\?xml/i
> > Since this branch does not load the file into memory beforehand, we
> would need another good
> > method to detect if the file is XML before the put operation.
>
> Tim, you remember correctly.
>
> Basically, I think we need to introduce the new behaviour
> (no slurp of file to send) with a new option, otherwise
> we will break all applications that use HTTP::DAV::put().
>
> I'll try to do something during this weekend.
> Sorry but I'm pretty overloaded these days...
>
Thanks! That'd be really awesome.