bsed / gorilla

Automatically exported from code.google.com/p/gorilla
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Mux Host() fails to match with port supplied in the Host: header #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please see attached diff for additional tests of the mux package. The one that 
fails is the test using a relative URL but a Host: header with a port number.

According to section 14.23 of RFC 2616 the Host header can include the port 
number if the default value of 80 is not used.

Original issue reported on code.google.com by kamil.ki...@gmail.com on 18 Sep 2012 at 12:50

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, there was a minor mistake in the previous diff. Here's an updated one.

Original comment by kamil.ki...@gmail.com on 18 Sep 2012 at 12:54

Attachments: