Why response comes over protocol http2.0 although i set for http1.1

But there is something wrong when i try same for http2.0, for example when i want to use http2.0 and set http2_prior_knowledge to ClientBuilder it giving FRAME_SIZE_ERROR but instead when i set for per request as i did in my code its fine with that. I am little confused.