[Backport] Add 'x-lazy-pagination' to COORS_ALLOWED_HEADERS

remotes/origin/logger
David Barragán Merino 2015-12-11 13:13:29 +01:00
parent 09726402ad
commit 56432f3df2
1 changed files with 2 additions and 2 deletions

View File

@ -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",