@property
def form(self) -> typing.Optional[typing.Dict]:
    'Form data sent via HTTP request'
    data = self._environ.get('wsgi.input')
    if data:
        form_dict = parse_qs(data.getvalue().decode('utf-8'))
        final_dict = {}
        for (k, v) in form_dict.items():
            final_dict[k] = v[0]
        return ImmutableDict(final_dict)
Form data sent via HTTP request
@property
def form(self) -> typing.Optional[typing.Dict]:
    
    data = self._environ.get('wsgi.input')
    if data:
        form_dict = parse_qs(data.getvalue().decode('utf-8'))
        final_dict = {}
        for (k, v) in form_dict.items():
            final_dict[k] = v[0]
        return ImmutableDict(final_dict)