Get the normalized URL from a `RequestInfo` value.
(request: RequestInfo)
| 199 | |
| 200 | /** Get the normalized URL from a `RequestInfo` value. */ |
| 201 | private getRequestUrl(request: RequestInfo): string { |
| 202 | const url = typeof request === 'string' ? request : request.url; |
| 203 | return normalizeUrl(url, this.origin); |
| 204 | } |
| 205 | |
| 206 | /** remove the query/hash part from a url*/ |
| 207 | private stripQueryAndHash(url: string): string { |
no test coverage detected