(self)
| 8 | self.tags = ['default', 'safe', 'http'] |
| 9 | |
| 10 | def configure(self): |
| 11 | self.add_option("path", default="/", help="The path on the web server to curl. Default: %(default)s") |
| 12 | self.match_service_name('^http') |
| 13 | self.match_service_name('^nacn_http$', negative_match=True) |
| 14 | self.add_pattern('(?i)powered[ -]by[^\n]+') |
| 15 | |
| 16 | async def run(self, service): |
| 17 | if service.protocol == 'tcp': |
no test coverage detected