fixes the reference http status
Merge pull request #2 from pekepeke/fixHttpStatusLogic

fixes the reference http status