fastapi-responses icon indicating copy to clipboard operation
fastapi-responses copied to clipboard

Ignored HTTPException if there are Headers

Open securityhigh opened this issue 2 years ago • 0 comments

My HTTPException: raise HTTPException(status_code=403, detail="Указанный email уже зарегистрирован", headers={"WWW-Authenticate": "Bearer"})

Redoc: изображение

Everything works fine without Headers. It would also be good to add each error directly to the examples of the withdrawal I use the standard HTTPException sheme.

securityhigh avatar Aug 06 '22 14:08 securityhigh