Re: WebDAV problem uploading in Plone 4 with a password

Andrew Daviel <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
On Fri, 12 Sep 2014, dieter wrote:

>
> With these explanations, I expect that no "Products.ATContentTypes"
> developper (that is where the "type in set of allowed types" check
> is implemented) will start working on the issue.


Thank you for the reply.

Your explanation sounds entirely plausible, yet is also one of the most 
ridiculous things I have heard in a while.

DAV supports the concept of a multi-status response; the reasonable thing 
would be to return one listing both reasons. If I had tried to upload a 
forbidden type, that is. If I had tried to upload an allowed type, but 
was not authorized, I'd expect a "not authorized" response, same as from 
millions of normal webservers around the world.

It might, I suppose, be possible for me to dig into HTTP:DAV which is 
built of simpler prototypes, to make a version that would present 
credentials on the first attempt. Or spawn cadaver to upload a token 
first, which is a horrible kludge.

This used to work. WebDAV is built into Plone - the wiki says it's an 
integral part. It's not like I'm trying to do something really strange.

-- 
Andrew Daviel, TRIUMF, Canada
Tel. +1 (604) 222-7376  (Pacific Time)

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.