A clean, Markdown-based publishing platform made for writers. Write together, and build a community.
https://writefreely.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package writefreely
-
- import "mime"
-
- func IsJSON(h string) bool {
- ct, _, _ := mime.ParseMediaType(h)
- return ct == "application/json"
- }
|