Não é possível definir o sinalizador httponly como falso ao definir um cookie

I want to set a cookie from session controller with its httponly flag set to false here is what i did

cookies[:my_cookie_name] = { value: "hello", httponly: false }

but it sets the httponly value to true. can anyone please help me to configure that? Thanks