spatie/http-status-check

Invalid status code in Response.php

clarkeash opened this issue · 1 comments

I was running scan against a site and got the following error:

In Response.php line 151:

  Status code must be an integer value between 1xx and 5xx.

Presumably, something has used a non-standard status code, but I don't know the URL as it doesn't come out in the error, also do you know where Response.php is as its not part of this package from what I can see.

The issue is with guzzle, I found this patch fixed it: https://github.com/guzzle/guzzle/pull/2591.patch

If you want to follow the issue: guzzle/guzzle#2534 or spatie/crawler#271