Parent Directory | Revision Log | Patch
revision 1.25 by juri, Fri Oct 24 19:46:30 2003 UTC | revision 1.26 by jmalonzo, Wed Oct 29 10:18:51 2003 UTC | |
---|---|---|
# | Line 54 class ConnectionManager: | Line 54 class ConnectionManager: |
54 | port = int(port) | port = int(port) |
55 | except (TypeError, ValueError): | except (TypeError, ValueError): |
56 | port = 80 # default port | port = 80 # default port |
57 | except AssertionError: | except AssertionError, e: |
58 | raise | port = 80 |
59 | log(_("Straw supports HTTP requests only. URI is %s; Request type of %s.") % (uri, scheme)) | |
60 | ||
61 | if not path: | if not path: |
62 | path = "/" | path = "/" |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |