1. Matthew Schinckel
  2. werkzeug-main

Commits

mitsuhiko  committed 7ceac95

===================================================================

  • Participants
  • Parent commits e401d97
  • Branches default

Comments (0)

Files changed (1)

File werkzeug/utils.py

View file
                 server_port = '80'
             elif scheme == 'https':
                 server_port = '443'
+            else:
+                server_port = ''
             server_name = netloc
         if qs or fragment:
             raise ValueError('base url cannot contain a query string '