Changes between Version 5 and Version 10 of Ticket #2234


Ignore:
Timestamp:
04/02/2015 01:56:19 PM (5 years ago)
Author:
sebastian
Comment:

I changed the path of the script to /formsubscribe for consistency with /formmail.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2234

    • Property Priority changed from Unknown to P3
    • Property Owner set to sebastian
  • Ticket #2234 – Description

    v5 v10  
    77 
    88=== What to change === 
    9 Implement a WSGI app served by the multiplexer under `/submitEmail` handling email addresses sent as form data in a `POST` request. The email address will be given by the `email` form field (one email address per request). Those email addresses must be stored in a persistent file on the disk, one line per email address (this will be compatible with CVS). Moreover, the file needs to be locked for writing to avoid problems when concurring requests try to access it at the same time. Once the email address were successfully stored a response with the text "Thanks for your submission! We'll notify you before the launch." should be sent. 
     9Implement a WSGI app served by the multiplexer under `/formsubscribe` handling email addresses sent as form data in a `POST` request. The email address will be given by the `email` form field (one email address per request). Those email addresses must be stored in a persistent file on the disk, one line per email address (this will be compatible with CVS). Moreover, the file needs to be locked for writing to avoid problems when concurring requests try to access it at the same time. Once the email address were successfully stored a response with the text "Thanks for your submission! We'll notify you before the launch." should be sent.