Commits

Anonymous committed c2fbfb8

method を強制的に小文字に

  • Participants
  • Parent commits 9917f35

Comments (0)

Files changed (1)

httpclient/aodag/httpclient/__init__.py

         self.client = client
         self.element = form_element
         self.action = form_element.attrib.get('action')
-        self.method = form_element.attrib.get('method', 'get')
+        self.method = form_element.attrib.get('method', 'get').lower()
         self.fields = dict(self.get_input_fields(self.element)
                 + self.get_select_fields(self.element)
                 + self.get_radio_field(self.element))