Changeset 6bf5a5c in osmose-frontend


Ignore:
Timestamp:
Nov 2, 2012 5:57:35 PM (5 years ago)
Author:
Frédéric Rodrigo <frodrigo@…>
Branches:
master
Children:
dc2d258
Parents:
c4fe22d
git-author:
Frédéric Rodrigo <frodrigo@…> (02/11/2012 17:35:34)
git-committer:
Frédéric Rodrigo <frodrigo@…> (02/11/2012 17:57:35)
Message:

Use POST for send update to frontend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • control.py

    r95a622e r6bf5a5c  
    2121########################################################################### 
    2222 
    23 from bottle import route, request, response, template 
     23from bottle import route, request, response, template, post 
    2424from tools import utils 
    2525from tools import update 
     
    8585 
    8686 
    87 @route('/control/send-update') 
    88 @route('/cgi-bin/update.py') # Backward compatibility 
     87@post('/control/send-update') 
     88@post('/cgi-bin/update.py') # Backward compatibility 
    8989def send_update(): 
    9090    code = request.params.get('code') 
Note: See TracChangeset for help on using the changeset viewer.