web-platform-tests/wpt
Voir sur GitHubCreation of a handler which doesn't set a string as response content hangs the server
Open
#8 368 ouverte le 20 nov. 2017
good first issueinfrapriority:backlogwptserve
Métriques du dépôt
- Stars
- (4 581 stars)
- Métriques de merge PR
- (Merge moyen 5j 23h) (682 PRs mergées en 30 j)
Description
Originally posted as https://github.com/w3c/wptserve/issues/105 by @whimboo on 28 Oct 2016, 12:22 UTC:
The following handler will cause the server to hang while delivering the page content:
def handler(request, response): response.content = 1 return ()This happens because a non-string value gets set as the content.