Lines Matching refs:get
35 resp = client.get(url=http_url)
56 assert client.get(url='/file.xml')['status'] == 403, 'no mtype'
64 assert client.get(url='/file.mp4')['status'] == 403, 'app * mtype mp4'
67 assert client.get(url='/file.xml')['status'] == 403, 'video * mtype xml'
75 assert client.get(url='/file.xml')['status'] == 403, 'forbidden negation'
85 assert client.get(url='/file.mp4')['status'] == 403, 'negation sort mp4'
87 assert client.get(url='/file.jpg')['status'] == 403, 'negation sort jpg'
97 assert client.get(url='/file.php')['status'] == 403, 'regex fail'
108 client.get(url='/file.xml')['status'] == 403
112 assert client.get(url='/file.mp4')['status'] == 200, 'mixed case'
114 client.get(url='/file.xml')['status'] == 403
120 client.get(url='/file.xml')['status'] == 403
152 assert client.get(url='/index.html')['status'] == 403, 'forbidden mtype'
153 assert client.get(url='/file.mp4')['status'] == 403, 'forbidden mtype'
169 assert client.get(url='/file')['status'] == 403, 'forbidden custom mime'