Wilfredo Sánchez Vega
Wilfredo Sánchez Vega
> You can replace `returnValue(x)` with `return x` without switching to coros Is that better?
I believe that generally you want RFC 3339 strings for JSON date-time. See: https://github.com/burningmantech/ranger-ims-server/blob/b76ebcde6dc03b7f08bcda013c832850d7a10d27/ims/data/json.py#L183
What's an `IDependencyInjector`?
No, this would be a feature request.
Not presently… Klein is very `bytes`-centric at the moment. What I think I'd like to see is a deprecation of `request.args`, and the addition of a `request.url` which is a...
Turning this into a feature request
FWIW, I started this sample app for similar reasons: https://github.com/wsanchez/sample-klein-app
There's a 16.12 release out now; try that. The release process is still being sorted out.
I potentially disagree with the example provided: A JSON document that describes some data and an HTML document that displays that data (in one of many possible ways) are not...
[API Docs](https://flask.palletsprojects.com/en/1.1.x/api/?highlight=before_request#flask.Flask.before_request), [Narrative Docs](https://flask.palletsprojects.com/en/1.1.x/reqcontext/?highlight=before_request#callbacks-and-errors)