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

Writing response when encountering an HTTP request does not work #44

Closed
blowdart opened this issue Feb 24, 2020 · 2 comments
Closed

Writing response when encountering an HTTP request does not work #44

blowdart opened this issue Feb 24, 2020 · 2 comments
Assignees
Milestone

Comments

@blowdart
Copy link
Owner

See #43

I had an exception "Synchronous operations are disallowed". I think it should be async all the way instead of returning Task.CompletedTask.

@blowdart blowdart added this to the 2.2.1 milestone Feb 24, 2020
@blowdart blowdart self-assigned this Feb 24, 2020
@blowdart
Copy link
Owner Author

A MisdirectedRequest error would be more appropriate.

421 Misdirected Request
The request was directed at a server that is not able to produce a response.
This can be sent by a server that is not configured to produce responses for the combination of scheme and authority that are included in the request URI.

@blowdart
Copy link
Owner Author

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