19 Dec
2002
19 Dec
'02
2 p.m.
I wonder what happens to the port when URI parses http URL string. Is it possible to check for ":" and use the stated port instead of port 80? Anyone has experience doing it before? Thanks in advance. Cheers, Gek
The Network.URI library will extract the "host:port":
authority (fromJust (parseURI "http://www.haskell.org:80/")) "www.haskell.org:80"
You have to split this string into the separate host and port parts yourself. Cheers, Simon
8653
Age (days ago)
8653
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow