`action` is not a required HTML from attribute, it is optional. I think that `form.attrib.get('action', '')` may be better here.