Conversation
There was a problem hiding this comment.
Let's call this controller_class instead.
|
I like this idea! Thanks for submitting the pull request. If we can make the small stylistic changes above, then I'm happy to merge this and push it out. Great work! |
|
@ionrock thanks for the quick review. Comments addressed. |
|
I added an example of this there https://gist.github.com/cournape/10432466 |
|
I merged this manually so I could squash your two commits into one (07ef57a). Unfortunately, that removed a bit of metadata giving you credit. Would you mind please sending me a pull request adding your name and/or github username to the CONTRIBUTORS.rst? I hate to look like I took credit for your work ;) Thanks again! |
|
@ionrock don't worry about it. I may prepare a PR with an actual example, though. |
|
That would be great! If you want to include it in the docs, that would David Cournapeau notifications@github.com writes:
Sent with my mu4e |
|
IMHO merging this was a mistake. While this is a small change it has big implications: it makes the interface of |
This simple PR allows for an adapter to take a custom controller.
The rationale is that for legacy reasons, I may have to support etag caching where I ignore the query string (think secured s3 entries). The simplest way seems to have my own controller subclass that passes a different key to the underlying cache