Add X-Pagination-Next y X-Pagination-Prev to Access-Control-Expose-Headers response header
parent
a86b741edb
commit
5d3f3fb9b0
|
@ -25,8 +25,8 @@ COORS_ALLOWED_HEADERS = ["content-type", "x-requested-with",
|
||||||
"x-session-id"]
|
"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-paginated-by", "x-pagination-current", "x-site-host",
|
"x-pagination-current", "x-pagination-next", "x-pagination-prev",
|
||||||
"x-site-register"]
|
"x-site-host", "x-site-register"]
|
||||||
|
|
||||||
|
|
||||||
class CoorsMiddleware(object):
|
class CoorsMiddleware(object):
|
||||||
|
|
Loading…
Reference in New Issue