Change array call to older php version
add response headers
add header to if
Merge pull request #4 from gicolek/master

Add header to the if statement