diff options
author | gabriel giovanini de souza <desouza@oculavis.de> | 2021-12-08 20:38:41 +0100 |
---|---|---|
committer | gabriel giovanini de souza <desouza@oculavis.de> | 2021-12-08 20:38:41 +0100 |
commit | 5d86d6c8a55258708aa0a9596b9e0c7132e58e45 (patch) | |
tree | 5102c14b03b1c19ae67415dd58586e5b64ce6437 /main.py | |
parent | 2e9afc9e92c12b0fe026ec4aa286b812f3c2186c (diff) | |
download | jnfilter-5d86d6c8a55258708aa0a9596b9e0c7132e58e45.tar.gz jnfilter-5d86d6c8a55258708aa0a9596b9e0c7132e58e45.tar.bz2 jnfilter-5d86d6c8a55258708aa0a9596b9e0c7132e58e45.zip |
Adiciona support para HEAD metodo
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ async def load_titles() -> Iterator[str]: xml_str = response.content return filter_titles_xml(xml_str) - +@app.head("/") @app.get("/", response_class=XMLResponse) async def root(q: str = ''): return await load_and_filter(q) |