@app.route('/requests/')
def request_search():
    if ('request_id' in request.args):
        return redirect(url_for('show_request', request_id=request.args['request_id']))
    else:
        abort(404)
@app.route('/requests/')
def request_search():
    if ('request_id' in request.args):
        return redirect(url_for('show_request', request_id=request.args['request_id']))
    else:
        abort(404)