This is Theorem 1 in Chapter IV-1 of Weil: Basic Number Theory. See also Corollaries 1-2 after the proof of this theorem.
GH from MO
- 105.4k
- 8
- 293
- 398