panther icon indicating copy to clipboard operation
panther copied to clipboard

$client->request('GET', $nonExistantUrl) returns status 200

Open ChangePlaces opened this issue 6 years ago • 5 comments

I've just spent the last few hours trying to figure out why a url that should be 404'ing is returning 200. I assumed it was a problem with the cache, but after dd'ing the response, clearly it isn't. The response contains the normal 404 response text from symfony, but with a 200 status.

reproduce: use a panther client to make a request to a non-existing url, and see the status is 200, instead of 404.

ChangePlaces avatar Jul 25 '18 06:07 ChangePlaces