ipython/ipython — pull request #6620 by manuelRiel (2014-10-04 13:11:52+00:00)
Title: AuthenticatedFileHandler uses ContentsManager to serve files and notebooks

In reference to #6613 I'm adding this PR. Rather than working on paths, it will use the current ContentsManager to get the contents of a file.

I tested this with the default `FileContentsManager` and our own `MongoContentsManager`.

There might be a better way to serve the file instead of `write()` and `flush()`.

Let me know what you think