[Tracker-discuss] mime-types on bugs.python.org

anatoly techtonik techtonik at gmail.com
Sat Jan 17 14:17:30 CET 2015


JFYI, here is the list of mime-types on bugs.python.org
Uniques ones were added before 2007. when this detector
was added
https://hg.python.org/tracker/python-dev/file/51dd28d02f07/detectors/no_texthtml.py


import xmlrpclib
roundup_server = xmlrpclib.ServerProxy('https://bugs.python.org/xmlrpc')
types = roundup_server.list('file', 'type')
from collections import Counter
stat = Counter(types)
for name, c in stat.most_common():
  print "%4s %s" % (c, name)


34902 text/plain
1110 application/octet-stream
 305 None
 173 application/zip
 147 application/x-zip-compressed
 139 application/x-gzip
 121 image/png
  90 text/x-csrc
  52 image/jpeg
  45 text/x-diff
  30 application/gzip
  30 application/x-tar
  29 text/x-log
  24 application/x-bzip2
  23 application/x-gzip-compressed
  21 application/pkcs7-signature
  16 text/html
  15 application/x-compressed-tar
  13 application/x-zip
  13 application/x-compressed
  13 application/pdf
  13 image/gif
  13 application/x-bzip
  12 text/xml
  11 application/x-shellscript
  10 application/x-gtar
   9 application/x-tex
   9 text/x-chdr
   8 text
   8 message/rfc822
   7 application/x-pkcs7-signature
   7 image/x-png
   6 video/x-dv
   6 text/x-vcard
   5 application/x-xz
   5 application/x-tar-gz
   5 application/x-sh
   5 application/vnd.oasis.opendocument.text
   5 text/csv
   4 image/pjpeg
   4 application/vnd.openxmlformats-officedocument.wordprocessingml.document
   4 image/bmp
   4 application/x-compress
   4 application/x-download
   3
   3 text/prs.fallenstein.rst
   3 video/quicktime
   3 application/rtf
   3 application/bzip2
   3 text/x-tex
   3 application/x-tcl
   3 www/unknown
   3 application/empty
   3 text/x-c++src
   3 application/x-tgz
   3 application/x-desktop
   3 application/vnd.ms-excel
   3 plain/text
   3 text/x-comma-separated-values
   3 application/download
   3 text/rtf
   3 application/msword
   2 application/x-x509-ca-cert
   2 text/x-sh
   2 text/x-python
   2 application/x-stuffit
   2 application/x-7z-compressed
   2 text/x-c-header
   2 text/x-patch
   2 application/octet-stream; name="make.out"
   2 application/x-msdownload
   2 application/x-msi
   2 audio/x-aiff
   2 message/delivery-status
   2 application/vnd.yahoo.widget
   2 audio/basic
   1 application/x-gunzip
   1 application/octet-stream;
   1 &#53648
   1 application/octet-stream; name="patch"
   1 application/octet-stream; name="Xcompiler-patch"
   1 application/x-ns-proxy-autoconfig
   1 audio/x-wav
   1 text/plain; name="temp.txt"
   1 text/plain; chaset=utf-8
   1 application/vnd.android.package-archive
   1 text/text
   1 application/text
   1 application/x-extension-cgi
   1 application/force-download
   1 application/x-lzma
   1 video/dv
   1 application/x-python-code
   1 application/octet-stream; name="py-help.el"
   1 application/x-gzip; name="set.tgz"
   1 application/xml
   1 text/cpp
   1 application/x-octet-stream
   1 /home/www/vesta/services/stamper/data/eca8875f3f165feb6342fd31d36072d3:
   1 application/x-bzip-compressed-tar
   1 text/english
   1 application/x-troff-man
   1 version=1.1.2
   1 text/x-sql
   1 image/svg+xml
   1 application/octet-stream; name="urllib_proxies_docs.cdiff"
   1 text/x-java
   1 application/mbox
   1 image/tiff
   1 application/octet-stream; name="spam1"
   1 application/octet-stream; name="bdist_rpm-patch"
   1 text/x-retext-rst
   1 application/rar
   1 image/x-icon
   1 application/x-rar-compressed
   1 text/css
   1 application/vnd.oasis.opendocument.spreadsheet
   1 text/x-rpm-spec
   1 text/plain; charset=gbk
   1 application/xml-dtd
   1 application/x-sharedlib
   1 application/x-msdos-program
   1 text/plain;charset=utf-8
   1 text/x-c
   1 text/x-perl
   1 application/x-itunes-itlp
   1 application/x-gtar-compressed
   1 text/x-tcl
   1 dropload/binary
   1 text/patch
   1 application/octet-stream; name="urllib_proxies_patch.cdiff"
-- 
anatoly t.


More information about the Tracker-discuss mailing list