mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
remove reject of the headets
This commit is contained in:
@@ -7137,7 +7137,7 @@ class HttpHeaders {
|
||||
*/
|
||||
clone(update) {
|
||||
/** @type {?} */
|
||||
const clone = new HttpHeaders({'rejectUnauthorized': environment.rejectUnauthorized });;
|
||||
const clone = new HttpHeaders();;
|
||||
clone.lazyInit =
|
||||
(!!this.lazyInit && this.lazyInit instanceof HttpHeaders) ? this.lazyInit : this;
|
||||
clone.lazyUpdate = (this.lazyUpdate || []).concat([update]);
|
||||
@@ -7688,7 +7688,7 @@ class HttpRequest {
|
||||
}
|
||||
// If no headers have been passed in, construct a new HttpHeaders instance.
|
||||
if (!this.headers) {
|
||||
this.headers = new HttpHeaders({'rejectUnauthorized': environment.rejectUnauthorized });;
|
||||
this.headers = new HttpHeaders();;
|
||||
}
|
||||
// If no parameters have been passed in, construct a new HttpUrlEncodedParams instance.
|
||||
if (!this.params) {
|
||||
@@ -7970,7 +7970,7 @@ class HttpResponseBase {
|
||||
constructor(init, defaultStatus = 200, defaultStatusText = 'OK') {
|
||||
// If the hash has values passed, use them to initialize the response.
|
||||
// Otherwise use the default values.
|
||||
this.headers = init.headers || new HttpHeaders({'rejectUnauthorized': environment.rejectUnauthorized });;
|
||||
this.headers = init.headers || new HttpHeaders();;
|
||||
this.status = init.status !== undefined ? init.status : defaultStatus;
|
||||
this.statusText = init.statusText || defaultStatusText;
|
||||
this.url = init.url || null;
|
||||
|
||||
Reference in New Issue
Block a user