[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-developers
Subject:    Re: [Mailman-Developers] Mailing List Subscription Request (fwd)
From:       Gerald Oskoboiny <gerald () impressive ! net>
Date:       2001-01-03 7:26:46
[Download RAW message or body]

On Mon, Jan 01, 2001 at 03:38:03PM -0500, Barry A. Warsaw wrote:
> 
> >>>>> "JCL" == J C Lawrence <claw@kanga.nu> writes:
> 
>     JCL> V3 really needs to support something like the following:
>         [ provide URLs for easy subscription confirmations ]
> 
> I completely agree, and, if some of the things I've been playing with
> over the holidays pan out, it'll be easy to add this.

Great... definitely a nice feature.

If you do add this, please make sure the actual confirmation step is
done with an HTTP POST, not a GET, since using GET for this violates
the HTTP protocol (GETting a URL must not have side effects like
confirming an application, only POSTing should.)

So the page displayed at the URL sent by email can display a trivial
HTML form that says something like:

    Confirmation for subscription to list-foo

    [ Confirm ]

where [ Confirm ] causes the form to be POSTed and the subscription
to be confirmed.

(Sorry if this advice seems premature, but I've seen various
similar software get this wrong.)

Further reading on GET vs POST for those who are interested:

    Forms: GET and POST
    http://www.w3.org/Provider/Style/Input

    Axioms of Web architecture: Identity, State and GET
    http://www.w3.org/DesignIssues/Axioms#state

    HTTP 1.1 section 9.1: Safe and Idempotent Methods
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.1

    HTML 4.01 section 17.13: Form submission
    http://www.w3.org/TR/html4/interact/forms.html#h-17.13

-- 
Gerald Oskoboiny <gerald@impressive.net>
http://impressive.net/people/gerald/

_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
http://www.python.org/mailman/listinfo/mailman-developers

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic