Form values parsed from an `url-encoded` or `multipart/form-data` encoded POST or PUT request body. The result is returned as a :class:`FormsDict`. All keys and values are strings. File uploads are stored separately in :attr:`files`.
(self)
| 1628 | |
| 1629 | @DictProperty('environ', 'bottle.request.forms', read_only=True) |
| 1630 | def forms(self): |
| 1631 | """ Form values parsed from an `url-encoded` or `multipart/form-data` |
| 1632 | encoded POST or PUT request body. The result is returned as a |
| 1633 | :class:`FormsDict`. All keys and values are strings. File uploads |
| 1634 | are stored separately in :attr:`files`. """ |
| 1635 | forms = FormsDict() |
| 1636 | forms.recode_unicode = self.POST.recode_unicode |
| 1637 | for name, item in self.POST.allitems(): |
| 1638 | if not isinstance(item, FileUpload): |
| 1639 | forms[name] = item |
| 1640 | return forms |
| 1641 | |
| 1642 | @DictProperty('environ', 'bottle.request.params', read_only=True) |
| 1643 | def params(self): |