HomeSort by relevance Sort by last modified time
    Searched refs:guess_type (Results 1 - 22 of 22) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_mimetypes.py 20 eq(self.db.guess_type("foo.html"), ("text/html", None))
21 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip"))
22 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip"))
23 eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress"))
24 eq(self.db.guess_type("foo.tar.bz2"), ("application/x-tar", "bzip2"))
25 eq(self.db.guess_type("foo.tar.xz"), ("application/x-tar", "xz"))
29 guess_type = self.db.guess_type
30 eq(guess_type("data:,thisIsTextPlain"), ("text/plain", None))
31 eq(guess_type("data:;base64,thisIsTextPlain"), ("text/plain", None)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_mimetypes.py 20 eq(self.db.guess_type("foo.html"), ("text/html", None))
21 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip"))
22 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip"))
23 eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress"))
24 eq(self.db.guess_type("foo.tar.bz2"), ("application/x-tar", "bzip2"))
25 eq(self.db.guess_type("foo.tar.xz"), ("application/x-tar", "xz"))
29 guess_type = self.db.guess_type
30 eq(guess_type("data:,thisIsTextPlain"), ("text/plain", None))
31 eq(guess_type("data:;base64,thisIsTextPlain"), ("text/plain", None)
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/
file_uploader.py 37 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
mimetypes.py 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL.
36 "guess_type","guess_extension","guess_all_extensions",
95 def guess_type(self, url, strict=True): member in class:MimeTypes
163 but would be mapped to the MIME type `type' by guess_type().
183 guess_type(). If no extension can be guessed for `type', None
275 def guess_type(url, strict=True): function
295 return _db.guess_type(url, strict)
305 guess_type(). If no extension can be guessed for `type', None
321 MIME type `type' by guess_type(). If no extension can be guessed for
592 guess, encoding = guess_type(gtype, strict
    [all...]
SimpleHTTPServer.py 33 calling the .guess_type() method.
82 ctype = self.guess_type(path)
179 def guess_type(self, path): member in class:SimpleHTTPRequestHandler
urllib.py 480 mtype = mimetypes.guess_type(url)[0]
553 mtype = mimetypes.guess_type("ftp:" + url)[0]
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
mimetypes.py 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL.
36 "guess_type","guess_extension","guess_all_extensions",
95 def guess_type(self, url, strict=True): member in class:MimeTypes
163 but would be mapped to the MIME type `type' by guess_type().
183 guess_type(). If no extension can be guessed for `type', None
275 def guess_type(url, strict=True): function
295 return _db.guess_type(url, strict)
305 guess_type(). If no extension can be guessed for `type', None
321 MIME type `type' by guess_type(). If no extension can be guessed for
592 guess, encoding = guess_type(gtype, strict
    [all...]
SimpleHTTPServer.py 33 calling the .guess_type() method.
82 ctype = self.guess_type(path)
179 def guess_type(self, path): member in class:SimpleHTTPRequestHandler
urllib.py 480 mtype = mimetypes.guess_type(url)[0]
553 mtype = mimetypes.guess_type("ftp:" + url)[0]
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/
reflectionhandler.py 131 mime_type, encoding = mimetypes.guess_type(file_path)
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
test_importer.py 232 mimetype = mimetypes.guess_type(fullpath)
343 mimetype = mimetypes.guess_type(orig_filepath)
  /external/chromium_org/ppapi/native_client/tools/browser_tester/browsertester/
server.py 61 def guess_type(self, path): member in class:RequestHandler
  /external/chromium_org/tools/grit/grit/format/
html_inline.py 52 returned by the Python's mimetypes.guess_type API.
112 mimetype = FixupMimeType(mimetypes.guess_type(filename)[0]) or 'text/plain'
  /external/chromium_org/tools/telemetry/telemetry/core/
memory_cache_http_server.py 160 content_type = mimetypes.guess_type(file_path)[0]
  /external/clang/tools/scan-view/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)
ScanView.py 707 ctype = self.guess_type(path)
  /development/scripts/app_engine_server/
memcache_zipserve.py 481 content_type, encoding = mimetypes.guess_type(name)
  /external/chromium/testing/gmock/scripts/
upload.py 535 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
715 mimetype = mimetypes.guess_type(filename)[0]
    [all...]
  /external/chromium/testing/gtest/scripts/
upload.py 535 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
715 mimetype = mimetypes.guess_type(filename)[0]
    [all...]
  /external/chromium_org/testing/gtest/scripts/
upload.py 535 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
715 mimetype = mimetypes.guess_type(filename)[0]
    [all...]
  /external/chromium_org/third_party/re2/lib/codereview/
codereview.py     [all...]
  /external/regex-re2/lib/codereview/
codereview.py     [all...]

Completed in 395 milliseconds