Skip to content

Conversation

@Beormund
Copy link

  • Replaced asyncio.cancel with task.cancel and now storing tasks in self.conns instead of handlers.
  • Check web server is running before shutting down and is not running before starting.
  • Removed unused self.processed_connections in webserver class.

Adds ability to specify multiple parameter names in restful urls.

Adds ability to obtain query string as a dictionary from request object.
Fix greedy matching of url root. Now _find_url_handler has to match path and params for parameterized urls.
Changed params['_param_names'] to params['_param_count']. Also made further improvements to path/param detection in _find_url_handler.
No need for this helper method to be async.
Replaced asyncio.cancel calls with task.cancel and removed unused processed_connections count. Also, self.conns[hid] = handler is now self.conns[hid] = task.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant