GitHunt
HA

harel/nameko-cors

Cors Support for Nameko HTTP

nameko-cors

Cors Support for Nameko HTTP

Written following this github issue (and borrowing heavily from that post): nameko/nameko#309

Example

@cors_http('GET', '/some/path/')
def some_request(self, request):
    """
    Do a get request with CORS 
    """
    return self.response(data={'some': 'value'})

Languages

Python100.0%

Contributors

Created August 1, 2017
Updated May 21, 2023