Adiciona support para HEAD metodo
diff --git a/main.py b/main.py index f86611fa9ee1dfcfc15dd6b36bf3afd32fd076e5..50d41388dd27bc4c34a2eee63a1b81aa1dbcd076 100644 --- a/main.py +++ b/main.py @@ -70,7 +70,7 @@ response = await client.get(URL) 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)