Changes between Version 2 and Version 3 of Ticket #12426, comment 2
- Timestamp:
- Apr 8, 2016, 3:16:42 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12426, comment 2
v2 v3 1 1 Proposed changes in log:rjollos.git:t12426_request_methods. I'm just posting for initial feedback on the methods added to the `_RequestArgs` class. There is still work to be done in utilizing the new methods throughout the codebase. 2 2 3 I tended towards using `getint` and `getbool`, thus always raising `HTTPBadRequest` on bad input. However, we may want to hand erdifferently the two common scenarios: values input by the user and values not directly input by the user.3 I tended towards using `getint` and `getbool`, thus always raising `HTTPBadRequest` on bad input. However, we may want to handle differently the two common scenarios: values input by the user and values not directly input by the user. 4 4 5 5 An example of values input by the user would be //going back x days// on the Timeline page. For the case that the value input is not an integer I initially chose an `HTTPBadRequest`, but reconsidered: [b5f40dee/rjollos.git].