fix response charset not filled with cookies