From 7a6213dcbff74729d9f95dc915764efe55da9554 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 23 Aug 2018 13:13:49 +0100 Subject: [PATCH] Update code comment for $tw.utils.http --- core/modules/utils/dom/http.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/modules/utils/dom/http.js b/core/modules/utils/dom/http.js index 3c7c9432b..7fdd81781 100644 --- a/core/modules/utils/dom/http.js +++ b/core/modules/utils/dom/http.js @@ -15,6 +15,7 @@ Browser HTTP support /* A quick and dirty HTTP function; to be refactored later. Options are: url: URL to retrieve + headers: hashmap of headers to send type: GET, PUT, POST etc callback: function invoked with (err,data) returnProp: string name of the property to return as first argument of callback