requestPath function
The path of req, with no query. The same as req.uri.path, but the
native server gives a plain path with no Uri.
Implementation
String requestPath(HttpRequest req) =>
req is NativeRequest ? req.path : req.uri.path;
The path of req, with no query. The same as req.uri.path, but the
native server gives a plain path with no Uri.
String requestPath(HttpRequest req) =>
req is NativeRequest ? req.path : req.uri.path;