When using the
head method to return a status code only result, take care not to get caught in the same trap I did with using the wrong status code.
If you want to return a 200 result you would use
I got caught out because using:
whilst seeming logical, actually returns a 500 with no errors.