Merge branch 'master' into issue-3476

This commit is contained in:
Jeff Mitchell 2017-10-26 15:29:32 -04:00 committed by GitHub
commit 0c8bda2061
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ func respondRaw(w http.ResponseWriter, r *http.Request, resp *logical.Response)
// Get the content type header; don't require it if the body is empty
contentTypeRaw, ok := resp.Data[logical.HTTPContentType]
if !ok && !nonEmpty {
if !ok && nonEmpty {
retErr(w, "no content type given")
return
}