The hostname and protocol are case insensitive, but the username, password, path and query are up to the server to interpret, and if that server's OS has case sensitive filenames (which is the case for most currently used non-MS-windows operating systems) the case is likely to matter.