aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorlisteng <aosp@163.com>2016-12-26 16:49:43 +0800
committerGitHub <noreply@github.com>2016-12-26 16:49:43 +0800
commit5b18cf09e7643d08f28f0e963c56474eafb35747 (patch)
treea73f4e52540b8cb15f54e35ec1f2a35c1e92e36f /weed/command
parent6b5867ce9d5d4c3b38df963acaf609a607fc3fd3 (diff)
downloadseaweedfs-5b18cf09e7643d08f28f0e963c56474eafb35747.tar.xz
seaweedfs-5b18cf09e7643d08f28f0e963c56474eafb35747.zip
Return json data when content-type is "application/json"
Before #344, the filer will return json data, and cschiano make a template that render to html. But sometimes need json data, so I add some code will return json data when content-type is "application/json".
Diffstat (limited to 'weed/command')
0 files changed, 0 insertions, 0 deletions