[Backport] Add 'x-lazy-pagination' to COORS_ALLOWED_HEADERS
parent
09726402ad
commit
56432f3df2
|
@ -22,8 +22,8 @@ COORS_ALLOWED_ORIGINS = "*"
|
||||||
COORS_ALLOWED_METHODS = ["POST", "GET", "OPTIONS", "PUT", "DELETE", "PATCH", "HEAD"]
|
COORS_ALLOWED_METHODS = ["POST", "GET", "OPTIONS", "PUT", "DELETE", "PATCH", "HEAD"]
|
||||||
COORS_ALLOWED_HEADERS = ["content-type", "x-requested-with",
|
COORS_ALLOWED_HEADERS = ["content-type", "x-requested-with",
|
||||||
"authorization", "accept-encoding",
|
"authorization", "accept-encoding",
|
||||||
"x-disable-pagination", "x-host",
|
"x-disable-pagination", "x-lazy-pagination",
|
||||||
"x-session-id"]
|
"x-host", "x-session-id"]
|
||||||
COORS_ALLOWED_CREDENTIALS = True
|
COORS_ALLOWED_CREDENTIALS = True
|
||||||
COORS_EXPOSE_HEADERS = ["x-pagination-count", "x-paginated", "x-paginated-by",
|
COORS_EXPOSE_HEADERS = ["x-pagination-count", "x-paginated", "x-paginated-by",
|
||||||
"x-pagination-current", "x-pagination-next", "x-pagination-prev",
|
"x-pagination-current", "x-pagination-next", "x-pagination-prev",
|
||||||
|
|
Loading…
Reference in New Issue