Shipeng Feng
Shipeng Feng
Maybe we should add support for customizing a signer, which will make everyone happy. We can provide a config key `SESSION_SIGNER`, you can pass in any signer instance you want.
`app.config['SESSION_SIGNER'] = hmac_sha256_signer`
We ship with the default one, mostly people wouldn't change it. If anyone does, there are endless possible demands, we cannot ship all of them, someone who changes the default...
There is no concern at all. Your solution solves your problem, not everyone's problem, it is that simple.
We can add one config `SESSION_SIGNER_PARAMS`, which should be the all kwargs that `itsdangerous.Signer` takes, then we check it and make sure every param is passed in. On the one...
+1 @ezequiel
Discussing the project future here: #156
微信 `/media/get` 正确情况下的返回 HTTP 头如下: ``` HTTP/1.1 200 OK Connection: close Content-Type: image/jpeg Content-disposition: attachment; filename="MEDIA_ID.jpg" Date: Sun, 06 Jan 2013 10:20:18 GMT Cache-Control: no-cache, must-revalidate Content-Length: 339721 ``` 扔掉...
@gregorynicholas I have updated it here https://github.com/fengsp/flask-extension-wizard
@eltair I'd appreciate it if you can add some working example code in the comment. Let's see how the api looks like.