BlackSheep
BlackSheep copied to clipboard
Fast ASGI web framework for Python
Apologies if this is misleading or plain wrong, I'm still figuring out a lot about blacksheep. I am trying to generate some metrics on the requests coming to my service,...
When setting a `root_path` of `"/prefix"` on the uvicorn app, the /docs route from the example/template app results in a 404 when attempting to load `/openapi.json`. Explicitly setting `OpenAPIHandler(...,json_spec_path="/prefix/openapi.json")` or...
Great package. TY for your hard work. I'm really enjoying blacksheep so far. But it feels like its missing a bit of WebSocket testing support. Added starlette like WebSocket testing....
Hello, Based on the OpenAPI specs, some headers are not supposed to be listed directly as parameters https://swagger.io/docs/specification/describing-parameters/#header-parameters From the doc here https://www.neoteroi.dev/blacksheep/binders/#built-in-binders, the `Accept` header will generate the following...
Hello, Somehow related to #501 , there is a bug when testing if we specify a header already defined in the helper. ```python response = await test_client.get("/test", headers={"accept": "application/json"}) ```...
Adapt set_headers_for_response_content from scribe module to use it for TestSimulator Issue #501
Hello, In a `server.py`, I have a simple health check ```py # in server.py from datetime import datetime, timezone from blacksheep import Application, get, ok app = Application() @get("/health") async...
hi I am developing a server with blacksheep and it should have DI with singleton and some background job of the singleton classes. In your tutorial it is said that...