In Ralph Cohen's notes on the topology of fiber bundles pp.62 he states that, since the space of connections $\mathcal{A}(P)$ (where $P$ is a principal $G$-bundle is affine) it is contractible.
I found in Stack Exchange there is a related old question but the context is rather different. Moreover I wish to see a proof that does not require Zariski topology as I am not asking for a proof of the general statement that any affine space is contractible (by the way is this statement true?).