moved http handler to separate function
http nil and valid scss test cases