@sasjs/core 4.23.0 → 4.23.1

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/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "@sasjs/cli": "3.13.0"
37
37
  },
38
- "version": "4.23.0"
38
+ "version": "4.23.1"
39
39
  }
@@ -68,8 +68,8 @@ data _null_;
68
68
  file &fname1 lrecl=1000;
69
69
  infile "&_sasjs_tokenfile" lrecl=1000;
70
70
  input;
71
- put "Content-Type: multipart/form-data; boundary=&boundary";
72
- put "Authorization: Bearer " _infile_;
71
+ if _n_=1 then put "Content-Type: multipart/form-data; boundary=&boundary";
72
+ put _infile_;
73
73
  run;
74
74
 
75
75
  %if &mdebug=1 %then %do;
@@ -87,9 +87,11 @@ data _null_;
87
87
  file &fref1 lrecl=1000;
88
88
  infile "&_sasjs_tokenfile" lrecl=1000;
89
89
  input;
90
- put "Authorization: Bearer " _infile_;
91
- put "Content-Type: application/json";
92
- put "accept: application/json";
90
+ if _n_=1 then do;
91
+ put "Content-Type: application/json";
92
+ put "accept: application/json";
93
+ end;
94
+ put _infile_;
93
95
  run;
94
96
 
95
97
  %if &mdebug=1 %then %do;
@@ -33,7 +33,7 @@ data _null_;
33
33
  file &headref lrecl=1000;
34
34
  infile "&_sasjs_tokenfile" lrecl=1000;
35
35
  input;
36
- put "Authorization: Bearer " _infile_;
36
+ put _infile_;
37
37
  run;
38
38
 
39
39
  proc http method='DELETE' headerin=&headref
@@ -34,7 +34,7 @@ data _null_;
34
34
  file &headref lrecl=1000;
35
35
  infile "&_sasjs_tokenfile" lrecl=1000;
36
36
  input;
37
- put "Authorization: Bearer " _infile_;
37
+ put _infile_;
38
38
  run;
39
39
 
40
40
  proc http method='GET' out=&binaryfref headerin=&headref
@@ -56,8 +56,8 @@ data _null_;
56
56
  file &fref0 lrecl=1000;
57
57
  infile "&_sasjs_tokenfile" lrecl=1000;
58
58
  input;
59
- put "Authorization: Bearer " _infile_;
60
- put "accept: application/json";
59
+ if _n_=1 then put "accept: application/json";
60
+ put _infile_;
61
61
  run;
62
62
 
63
63
  %if &mdebug=1 %then %do;
@@ -137,8 +137,8 @@ data _null_;
137
137
  file &authref lrecl=1000;
138
138
  infile "&_sasjs_tokenfile" lrecl=1000;
139
139
  input;
140
- put 'Authorization: Bearer ' _infile_;
141
- put "Content-Type: multipart/form-data; boundary=&boundary";
140
+ if _n_=1 then put "Content-Type: multipart/form-data; boundary=&boundary";
141
+ put _infile_;
142
142
  run;
143
143
 
144
144
  %if &mdebug=1 %then %do;