Extend the application by allowing users to download the result of a query in a markdown le
To achieve this, you should create a (temporary) le and write the result of the query to it (or an appropriate message for the user in case the query did not produce any result; follow the example of HTMLResultPage). You should then serve the le data to the user by turning the le into an input stream and transfering its bytes to the output stream of the HTTP response. Note that the HTTP response content type should be set to the appropriate MIME type12, again in the same fashion of HTMLResultPage. Users should be able to choose the format (HTML or markdown) for the result of their query from the index page. A simple radio button should do the job. Finally, write some tests for the new functionalities and deploy the app to Heroku.