Someone asked in 2011 how to trim default ports from the Host request
header. The answer from that time refers to deprecated code.
http://httpcomponents.10934.n7.nabble.com/Trimming-port-80-in-request-Host-header-td7402.html

What is the right way to do it now? This is the code I have at the
moment - https://github.com/internetarchive/heritrix3/pull/37/files

Btw browsers trim the default ports. Maybe httpcomponents should do
that by default?

Noah

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to