From http://userid:password@example.com/file1/file2?test=1&test=2#here
you will get:
http://userid:password@example.com/file1/file2?test=1&test=2#here
protocol
= http
user
= userid
password
= password
domain
= example.com
top_level_domain
= com
directory
= /file1/file2
query
= test=1&test=2
anchor
= here