Added x-pagination-current to the http HEADERS

remotes/origin/enhancement/email-actions
David Barragán Merino 2013-11-18 16:05:50 +01:00
parent 243f00fa28
commit b77087e955
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@ COORS_ALLOWED_HEADERS = ['Content-Type', 'X-Requested-With',
'Authorization', 'Accept-Encoding', 'Authorization', 'Accept-Encoding',
'X-Disable-Pagination'] 'X-Disable-Pagination']
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"]
class CoorsMiddleware(object): class CoorsMiddleware(object):