From 6c38d81bf09593d3e85a91a11b02c78aaa6c45ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B3=A0=EB=82=A8=ED=98=84?= Date: Thu, 12 Nov 2020 16:21:43 +0900 Subject: [PATCH] Update http.js --- lib/http.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/http.js b/lib/http.js index d650733..2883885 100644 --- a/lib/http.js +++ b/lib/http.js @@ -54,6 +54,7 @@ var HTTPObject = function() { var _k = key.toLowerCase(); var _v = headers[key].toLowerCase(); if (_k === "content-type" && _v === "application/json") { + this.dataType = "json"; return true; } }