Correctly set request header. Closes #3