[Home](./index.md) > [puppeteer](./puppeteer.md) > [HTTPResponse](./puppeteer.httpresponse.md) > [ok](./puppeteer.httpresponse.ok.md)
## HTTPResponse.ok() method
Signature:
```typescript
ok(): boolean;
```
Returns:
boolean
True if the response was successful (status in the range 200-299).