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)
| 1234 | |
| 1235 | @DictProperty('environ', 'bottle.request.forms', read_only=True) |
| 1236 | def forms(self): |
| 1237 | """ Form values parsed from an `url-encoded` or `multipart/form-data` |
| 1238 | encoded POST or PUT request body. The result is returned as a |
| 1239 | :class:`FormsDict`. All keys and values are strings. File uploads |
| 1240 | are stored separately in :attr:`files`. """ |
| 1241 | forms = FormsDict() |
| 1242 | forms.recode_unicode = self.POST.recode_unicode |
| 1243 | for name, item in self.POST.allitems(): |
| 1244 | if not isinstance(item, FileUpload): |
| 1245 | forms[name] = item |
| 1246 | return forms |
| 1247 | |
| 1248 | @DictProperty('environ', 'bottle.request.params', read_only=True) |
| 1249 | def params(self): |