We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bd26d6 commit b1c3206Copy full SHA for b1c3206
lib/bindings/http/binary_0_2.js
@@ -36,7 +36,9 @@ HTTPBinary.prototype.emit = function(cloudevent){
36
// Have extensions?
37
var exts = cloudevent.getExtensions();
38
for(var ext in exts){
39
- _headers["ce-" + ext] = exts[ext];
+ if({}.hasOwnProperty.call(exts, ext)){
40
+ _headers["ce-" + ext] = exts[ext];
41
+ }
42
}
43
44
// Return the Promise
0 commit comments