cubicweb/web/cors.py
changeset 12567 26744ad37953
parent 11348 70337ad23145
equal deleted inserted replaced
12566:6b3523f81f42 12567:26744ad37953
    27 See also:
    27 See also:
    28   https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS
    28   https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS
    29 
    29 
    30 """
    30 """
    31 
    31 
    32 from six.moves.urllib.parse import urlsplit
    32 from urllib.parse import urlsplit
    33 
    33 
    34 from cubicweb.web import LOGGER
    34 from cubicweb.web import LOGGER
    35 info = LOGGER.info
    35 info = LOGGER.info
    36 
    36 
    37 class CORSFailed(Exception):
    37 class CORSFailed(Exception):