Skip to content
  • Kevin Morris's avatar
    add aurweb.asgi.id_redirect_middleware · dc4cc9b6
    Kevin Morris authored
    
    
    A new middleware which redirects requests going to '/route?id=some_id'
    to '/route/some_id'. In the FastAPI application, we'll prefer using
    restful layouts where possible where resource-based ids are
    parameters of the request uri: '/route/{resource_id}'.
    
    Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
    dc4cc9b6