[pmwiki-users] Quick/easy way to check if page is passwd protected?
dausha at gmail.com
Sat Feb 11 12:43:24 CST 2006
To be more clear with what I seek:
I have a script that allows me to edit PmWiki pages without using a
web browser. However, since some pages may be read or edit protected.
Right now, every time I go to a site, I send the authentication
information, even if it is not needed, because I have no way to
determine if authentication is needed.
I need a way that the script can GET the protection status of a page
(e.g. ?action=protections). That way, the script can GET the status
and send the authentication information only when needed--rather than
all the time.
On 2/9/06, Ben Wilson <dausha at gmail.com> wrote:
> I am working on my python version of pmwikiedit and I have it working.
> But, I'm looking for some enhancements. I would like to have a way of
> checking to see if a page is password protected. Almost like
> "?action=isprotected" that returns boolean. I know, I have odd
> requests. ;-)
> Ben Wilson
> " Mundus vult decipi, ergo decipiatur"
" Mundus vult decipi, ergo decipiatur"
More information about the pmwiki-users