character of war,[330],[331];Congress authorizes war,[331];occupation of New Mexico and Upper California,[331]