Skip to content

Commit

Permalink
fix(spec): Added Response 'status' and 'statusText' defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
grantila committed Jan 29, 2019
1 parent 6c94589 commit f8b9405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ export class Response extends Body
},
status: {
enumerable: true,
value: init.status,
value: init.status || 200,
},
statusText: {
enumerable: true,
value: init.statusText,
value: init.statusText || "",
},
type: {
enumerable: true,
Expand Down

0 comments on commit f8b9405

Please sign in to comment.