Skip to content

Commit b1c0e28

Browse files
committed
Extra test
1 parent 05765c4 commit b1c0e28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/ql/test/library-tests/frameworks/bottle/bottle_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
@app.route('/test', method=['OPTIONS', 'GET']) # $ routeSetup="/test"
66
def test1(): # $ requestHandler
77
response.headers['Content-type'] = 'application/json' # $ headerWriteName='Content-type' headerWriteValue='application/json'
8+
response.set_header('Content-type', 'application/json') # $ headerWriteName='Content-type' headerWriteValue='application/json'
89
return '[1]' # $ HttpResponse responseBody='[1]' mimetype=text/html
910

1011
app.run()

0 commit comments

Comments
 (0)