Made the JSON adapter raise HTTPException on status codes matching config.