Fix rsplit call in add_encoding
small changes to force repush
add charset to content-type response header for html,css,js files