Tested and fixed the getHttpHeader method.