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

1 2

  /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 237 mimetype = mimetypes.guess_type(fullpath)
371 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/third_party/skia/platform_tools/nacl/
httpd.py 117 ctype = self.guess_type(path)
  /external/clang/tools/scan-view/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)
ScanView.py 707 ctype = self.guess_type(path)
  /external/lldb/utils/test/
ras.py 133 ctype, encoding = mimetypes.guess_type(path)
  /external/skia/platform_tools/nacl/
httpd.py 117 ctype = self.guess_type(path)
  /prebuilts/misc/darwin-x86/analyzer/tools/scan-view/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)
ScanView.py 707 ctype = self.guess_type(path)
  /prebuilts/misc/linux-x86/analyzer/tools/scan-view/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)
ScanView.py 707 ctype = self.guess_type(path)
  /external/chromium_org/tools/telemetry/telemetry/core/
memory_cache_http_server.py 187 content_type = mimetypes.guess_type(file_path)[0]
  /external/chromium_org/build/android/pylib/utils/
json_results_generator.py 653 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
  /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/tools/memory_inspector/memory_inspector/frontends/
www_server.py 647 guessed_mime = mimetypes.guess_type(file_path)

Completed in 463 milliseconds

1 2