A :class:`FormsDict` with the combined values of :attr:`query` and :attr:`forms`. File uploads are stored in :attr:`files`.
(self)
| 1247 | |
| 1248 | @DictProperty('environ', 'bottle.request.params', read_only=True) |
| 1249 | def params(self): |
| 1250 | """ A :class:`FormsDict` with the combined values of :attr:`query` and |
| 1251 | :attr:`forms`. File uploads are stored in :attr:`files`. """ |
| 1252 | params = FormsDict() |
| 1253 | for key, value in self.query.allitems(): |
| 1254 | params[key] = value |
| 1255 | for key, value in self.forms.allitems(): |
| 1256 | params[key] = value |
| 1257 | return params |
| 1258 | |
| 1259 | @DictProperty('environ', 'bottle.request.files', read_only=True) |
| 1260 | def files(self): |