splitbrain/dokuwiki — comment on commit b760af946cf29d1bee05a5cb33cfc6e357df441f
File:  line 0
By michitux:

This 401 header is returned in order to support HTTP clients that send HTTP auth data only on request. This has been discussed in the bug report at http://bugs.dokuwiki.org/index.php?do=details&task_id=2133 which was the cause for this fix. Unfortunately it seems to be impossible to both conform to the XML-RPC specification and to support HTTP clients that implement authentication properly.