Fix HTTP tests

This commit is contained in:
Nathanael Anderson
2020-08-25 21:11:50 -05:00
parent c0b6af32c3
commit ca29189a40
2 changed files with 1 additions and 3 deletions

View File

@@ -1,7 +1,5 @@
import * as http from '@nativescript/core/http';
(<any>global).FormData = class FormData {};
declare var postMessage: any;
http.getString('https://httpbin.org/get').then(

View File

@@ -33,7 +33,7 @@ export interface HttpRequestOptions {
timeout?: number;
/**
* Gets or sets wether to *not* follow server's redirection responses.
* Gets or sets whether to *not* follow server's redirection responses.
*/
dontFollowRedirects?: boolean;
}