@app.route('/requests/<service_request_id>.<format>')
def service_request(service_request_id, format):
    result = search(request.form)
    if format == 'json':
        return jsonify(srs[0])
    elif format == 'xml':
        response = make_response(render_template('service-requests.xml', service_requests=[srs[0]]))
        response.headers['Content-Type'] = 'text/xml; charset=utf-8'
        return response
    else:
        abort(404)
Claim code URL should lead to award detail or list after claim
dataset/ETHPy150Open miamidade/georeport-server/v2.py/service_request--crossover with--dataset/ETHPy150Open mozilla/django-badger/badger/tests/test_views.py/BadgerViewsTest.test_claim_code_shows_awards_after_claim