ottoyiu/django-cors-headers — pull request #10 by opozo (2013-03-26 05:31:45+00:00)
Title: Use url.netloc instead of url.hostname to support ports for CORS

Add support for hostnames with different ports by using url.netloc instead of url.hostname to be able to differentiate multiple servers running in localhost for example.