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

1 2 3

  /prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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-trace/catapult/third_party/gsutil/third_party/boto/boto/services/
message.py 36 mime_type = mimetypes.guess_type(t[1])[0]
  /prebuilts/gdb/darwin-x86/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
  /prebuilts/gdb/linux-x86/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
  /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
  /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
  /external/chromium-trace/catapult/third_party/Paste/paste/
fileapp.py 173 filename. Adds a mime type based on ``mimetypes.guess_type()``.
179 content_type, content_encoding = self.guess_type()
186 def guess_type(self): member in class:FileApp
187 return mimetypes.guess_type(self.filename)
343 content_type, content_encoding = mimetypes.guess_type(info.filename)
345 # mimetypes.guess_type returns None
  /external/chromium-trace/catapult/catapult_build/
dev_server.py 102 def guess_type(self): member in class:FileAppWithGZipHandling
104 super(FileAppWithGZipHandling, self).guess_type()
  /external/chromium-trace/catapult/dashboard/dashboard/
rietveld_service.py 121 content_type = (mimetypes.guess_type(filename)[0] or
  /external/chromium-trace/catapult/third_party/WebOb/webob/
static.py 22 Adds a mime type based on `mimetypes.guess_type()`.
27 content_type, content_encoding = mimetypes.guess_type(filename)
  /external/clang/tools/scan-view/share/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)
  /prebuilts/clang/darwin-x86/host/3.6/tools/scan-view/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)
  /prebuilts/clang/host/darwin-x86/3.8/tools/scan-view/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)
  /prebuilts/clang/host/darwin-x86/clang-2629532/tools/scan-view/share/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)
  /prebuilts/clang/host/darwin-x86/clang-2658975/tools/scan-view/share/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)
  /prebuilts/clang/host/darwin-x86/clang-2690385/tools/scan-view/share/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)
  /prebuilts/clang/host/linux-x86/3.8/tools/scan-view/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)
  /prebuilts/clang/host/linux-x86/clang-2629532/tools/scan-view/share/
Reporter.py 87 ctype, encoding = mimetypes.guess_type(path)

Completed in 508 milliseconds

1 2 3