Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should raise an error if no response method is called #19

Open
CreatCodeBuild opened this issue Jun 4, 2017 · 0 comments
Open

Should raise an error if no response method is called #19

CreatCodeBuild opened this issue Jun 4, 2017 · 0 comments

Comments

@CreatCodeBuild
Copy link
Owner

async def post_record(http, stream, para):
    record = json.load(stream.data)
    # http.send_error(stream, 200)

Currently an end point function which doesn't call any response methods won't cause exceptions.

This function should cause an exception at the initialization time. That is, if the framework sees this, the app should not even start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant