* backport ee6dfa1c1fd84f56cfec1ab5fa037dac9d06bdbd (remove unused import) from mainline.
* use status_code instead of status for requests output

Change-Id: I0078c59b69e323ab0b1d7d81b8a3e02add9d40d5