Fixing HTTP error reporting yet again.