I guess server_push is a function isn't it? Otherwise you could have diretly used server_push instead of yourImageBytes. In this case you forgot the parantheses behind it and hence the code will crash as yourImageBytes points to a function.

Please use code tags when posting code.


Always learn from history, to be sure you make the same mistakes again...