Please sign in to comment.
Split out port from host
The host header also gives out port with it, so it should be split out of it. Since in a url, the string before the last colon (:) is the host domain, we grab that one as host. Signed-off-by: Rohan Jain <firstname.lastname@example.org>
- Loading branch information...