Extra test

This commit is contained in:
Kevin Stubbings
2024-09-23 15:00:23 -07:00
parent 05765c4284
commit b1c0e28aff

View File

@@ -5,6 +5,7 @@ app = Bottle()
@app.route('/test', method=['OPTIONS', 'GET']) # $ routeSetup="/test"
def test1(): # $ requestHandler
response.headers['Content-type'] = 'application/json' # $ headerWriteName='Content-type' headerWriteValue='application/json'
response.set_header('Content-type', 'application/json') # $ headerWriteName='Content-type' headerWriteValue='application/json'
return '[1]' # $ HttpResponse responseBody='[1]' mimetype=text/html
app.run()