feat(devops): Add support for if-modified-since header for Feature Flags public endpoint

ref: #673 #663
This commit is contained in:
2025-03-08 21:05:44 +09:30
parent a07ee8472e
commit 427584c8d9
2 changed files with 49 additions and 0 deletions

View File

@ -28,3 +28,14 @@ class APIError(
default_detail = 'An unknown ERROR occured'
default_code = 'unknown_error'
class NotModified(
exceptions.APIException
):
status_code = status.HTTP_304_NOT_MODIFIED
default_detail = ''
default_code = 'not_modified'