Better status tags and delete request on key

This commit is contained in:
Gregory Schier
2023-04-04 12:36:30 -07:00
parent 7d154800a0
commit b3c461afdd
12 changed files with 125 additions and 74 deletions

View File

@@ -72,3 +72,7 @@ export interface HttpResponse extends BaseModel {
readonly url: string;
readonly headers: HttpHeader[];
}
export function isResponseLoading(response: HttpResponse): boolean {
return !(response.body || response.status || response.error);
}