Skip to content

Commit

Permalink
#171 UJSONResponse Fix
Browse files Browse the repository at this point in the history
#171 UJSONResponse Fix

Co-authored-by: Gleb Abroskin <[email protected]>
  • Loading branch information
gasabr and Gleb Abroskin authored Jun 3, 2021
1 parent f03ca33 commit 263fa21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastapi_contrib/common/responses.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import typing
import ujson

from starlette.responses import UJSONResponse as BaseUJSONResponse
from starlette.responses import JSONResponse


class UJSONResponse(BaseUJSONResponse):
class UJSONResponse(JSONResponse):
"""
Custom Response, based on default UJSONResponse, but with differences:
* Allows to have forward slashes inside strings of JSON
Expand Down

0 comments on commit 263fa21

Please sign in to comment.