mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Extra test
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user