fable 3.0.58 → 3.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fable.compatible.js +1 -1
- package/dist/fable.compatible.min.js +1 -1
- package/dist/fable.compatible.min.js.map +1 -1
- package/dist/fable.js +1 -1
- package/dist/fable.min.js +1 -1
- package/dist/fable.min.js.map +1 -1
- package/package.json +1 -1
- package/source/services/Fable-Service-RestClient.js +9 -0
package/package.json
CHANGED
|
@@ -103,6 +103,15 @@ class FableServiceRestClient extends libFableServiceBase
|
|
|
103
103
|
|
|
104
104
|
let tmpOptions = this.preRequest(pOptions);
|
|
105
105
|
|
|
106
|
+
if (!tmpOptions.hasOwnProperty('headers'))
|
|
107
|
+
{
|
|
108
|
+
tmpOptions.headers = {};
|
|
109
|
+
}
|
|
110
|
+
if (!tmpOptions.headers.hasOwnProperty('Content-Type'))
|
|
111
|
+
{
|
|
112
|
+
tmpOptions.headers['Content-Type'] = 'application/json';
|
|
113
|
+
}
|
|
114
|
+
|
|
106
115
|
tmpOptions.RequestStartTime = this.fable.log.getTimeStamp();
|
|
107
116
|
|
|
108
117
|
if (this.TraceLog)
|