aiohttp.web.HTTPNoContent

Here are the examples of the python api aiohttp.web.HTTPNoContent taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

3 Examples 7

Example 1

Project: aiohttp Source File: test_web_exceptions.py
def test_empty_body_204():
    resp = web.HTTPNoContent()
    assert resp.body is None

Example 2

Project: aiohttp Source File: test_web_exceptions.py
def test_empty_body_205():
    resp = web.HTTPNoContent()
    assert resp.body is None

Example 3

Project: aiohttp Source File: test_web_exceptions.py
def test_empty_body_304():
    resp = web.HTTPNoContent()
    resp.body is None