diff options
| author | listeng <aosp@163.com> | 2016-12-26 16:49:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-26 16:49:43 +0800 |
| commit | 5b18cf09e7643d08f28f0e963c56474eafb35747 (patch) | |
| tree | a73f4e52540b8cb15f54e35ec1f2a35c1e92e36f /weed/command | |
| parent | 6b5867ce9d5d4c3b38df963acaf609a607fc3fd3 (diff) | |
| download | seaweedfs-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
