Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 348 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 348 Bytes

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'})