Compare View
Commits (2)
Changes
Showing 3 changed files Side-by-side Diff
gateway/pull.js
... | ... | @@ -119,10 +119,16 @@ function pullTask() { |
119 | 119 | |
120 | 120 | if (config.pull_task_use_post) { |
121 | 121 | //logger.verbose('Requesting PULL-TASK to CORE using POST'); |
122 | + if (KOMODO_SDK_DEBUG_PULL) { | |
123 | + logger.verbose('PULL TASK using HTTP POST'); | |
124 | + } | |
122 | 125 | options.method = 'POST'; |
123 | 126 | options.form = body_or_qs; |
124 | 127 | } |
125 | 128 | else { |
129 | + if (KOMODO_SDK_DEBUG_PULL) { | |
130 | + logger.verbose('PULL TASK using HTTP GET'); | |
131 | + } | |
126 | 132 | options.method = 'GET'; |
127 | 133 | options.qs = body_or_qs; |
128 | 134 | } |
package-lock.json