Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit bef9edb

Browse files
author
Pat Patterson
committed
Merged changes
2 parents e12fc02 + 1a25f90 commit bef9edb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

forcetk.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ if (forcetk.Client === undefined) {
300300
request.setRequestHeader('Accept', 'application/json');
301301
request.setRequestHeader(this.authzHeader, "Bearer " + this.sessionId);
302302
request.setRequestHeader('X-User-Agent', 'salesforce-toolkit-rest-javascript/' + this.apiVersion);
303+
request.setRequestHeader('Content-Type', 'multipart/form-data; boundary=\"boundary_' + boundary + '\"');
303304
if (this.proxyUrl !== null && !this.visualforce) {
304305
request.setRequestHeader('SalesforceProxy-Endpoint', url);
305306
}

0 commit comments

Comments
 (0)