| Total Complexity | 1 |
| Total Lines | 7 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | def after_request(response): |
||
| 2 | try: |
||
| 3 | response.headers['X-Content-Type-Options'] = 'nosniff' |
||
| 4 | response.headers['X-Frame-Options'] = 'deny' |
||
| 5 | finally: |
||
| 6 | return response |
||
| 7 |