diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-10-09 17:22:22 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-10-09 17:22:22 -0400 |
commit | 93f7f00c956c14620ef031626f124b57397ca867 (patch) | |
tree | c5a9f536e79d2c8d2d02897511a9138acaf35394 /std/media_types | |
parent | 28293acd9c12a94f5d769706291032e844c7b92b (diff) |
Run deno_std tests in github actions
Diffstat (limited to 'std/media_types')
-rw-r--r-- | std/media_types/README.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/std/media_types/README.md b/std/media_types/README.md index 1be0e52bf..481c56b84 100644 --- a/std/media_types/README.md +++ b/std/media_types/README.md @@ -23,10 +23,10 @@ lookup("folder/.htaccess"); // undefined ### `contentType(type)` -Return a full `Content-Type` header value for a given content type or -extension. When an extension is used, `lookup()` is used to resolve the -content type first. A default charset is added if not present. The -function will return `undefined` if the content type cannot be resolved: +Return a full `Content-Type` header value for a given content type or extension. +When an extension is used, `lookup()` is used to resolve the content type first. +A default charset is added if not present. The function will return `undefined` +if the content type cannot be resolved: ```ts import { contentType } from "https://deno.land/std/media_types/mod.ts"; @@ -53,8 +53,8 @@ extension("application/octet-stream"); // "bin" ### `charset(type)` -Lookup the implied default charset for a given content type. If the content -type cannot be resolved, `undefined` is returned: +Lookup the implied default charset for a given content type. If the content type +cannot be resolved, `undefined` is returned: ```ts import { charset } from "https://deno.land/std/media_types/mod.ts"; |