File: ports.py

package info (click to toggle)
python-urlobject 2.3.4-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 276 kB
  • ctags: 474
  • sloc: python: 1,256; makefile: 135
file content (25 lines) | stat: -rw-r--r-- 459 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""Default port numbers for the URI schemes supported by urlparse."""

DEFAULT_PORTS = {
    'ftp': 21,
    'gopher': 70,
    'hdl': 2641,
    'http': 80,
    'https': 443,
    'imap': 143,
    'mms': 651,
    'news': 2009,
    'nntp': 119,
    'prospero': 191,
    'rsync': 873,
    'rtsp': 554,
    'rtspu': 554,
    'sftp': 115,
    'shttp': 80,
    'sip': 5060,
    'sips': 5061,
    'snews': 2009,
    'svn': 3690,
    'svn+ssh': 22,
    'telnet': 23,
}