print('** Lists methods available via OPTIONS/HTTP **\n')
host = input('Insert the host/DST IP: ')
port = input('Insert the DST PORT:(default:80) ')
connection = http.client.HTTPConnection(host, port)
connection.request('OPTIONS', '/')
response = connection.getresponse()
print('Enabled methods on webserver are: ', response.getheader('allow'))
except ConnectionRefusedError:
print('Connection Failed')