From eb0c87d77a6a56feb92058056ed3098210558f2a Mon Sep 17 00:00:00 2001 From: "J. Russell Smyth" Date: Tue, 15 Aug 2017 23:59:00 +0000 Subject: [PATCH] add semicolon after media type in accept statement. Necessary for more pedantic servers such as Artifactory --- src/lib/storage/up-storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/storage/up-storage.js b/src/lib/storage/up-storage.js index bfbaaf930..57d5b2180 100644 --- a/src/lib/storage/up-storage.js +++ b/src/lib/storage/up-storage.js @@ -17,7 +17,7 @@ const encode = function(thing) { const jsonContentType = 'application/json'; -const contenTypeAccept = `${jsonContentType} q=0.8, */*`; +const contenTypeAccept = `${jsonContentType}; q=0.8, */*`; /** * Just a helper (`config[key] || default` doesn't work because of zeroes)