Open
Description
The following should be supported
new Request('GET', Uri.parse('http://localhost'));
Note also that the check on https://github.com/dart-lang/shelf/blob/master/lib/src/request.dart#L178 is a bit strange. It compares this.url etc but then prints the result of url, but this.url has gone through some processing so this is misleading.
Note: I started trying to do a PR for this but wasn't sure how best to implement it as no path leads naturally to url = '' and handlerPath = '' (or nulls if you prefer). Either way this is not currently allowed in shelf