Skip to content

Commit a839eee

Browse files
committed
multipart headers
1 parent 04b32bf commit a839eee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/parameters.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ parameters.prototype.loadFile = function(filePath, loadedParameters, userKey, se
155155
"accept": 'application/json',
156156
"accept-encoding": "gzip",
157157
"content-type": 'multipart/mixed',
158-
"user-agent": "rosetteapinode/" + BINDING_VERSION
158+
"user-agent": "rosetteapinode/" + BINDING_VERSION,
159+
"X-RosetteAPI-Binding": "nodejs",
160+
"X-RosetteAPI-Binding-Version": BINDING_VERSION
159161
}
160162
headers["X-RosetteAPI-Key"] = userKey;
161163

0 commit comments

Comments
 (0)