We study the Hardy type two-weighted inequality for the multidimensional Hardy operator in the norms of generalized Lebesgue spaces L-p(.)(R-n) In tins way we prove equivalent conditions for L-P(.) -> L-q(.) boundedness of Hardy operator in the case of exponents q(0) >= p(0), q(infinity) >= p (infinity). We also prove that the condition for such inequality to hold coincides with condition for validity of two weighted Hardy inequalities with constant exponents, if we require the exponents to be regular near zero and at infinity.