nebraska: Fix request.headers.getheader() for python3

Python 3 does't have request.headers.getheader() anymore. It is
replaced by  request.headers.get() (request.headers is a dict now).
This has caused cros flash to fail.

This change seems to work with python2 too.

TEST=cros flash on a VM betty image and reef

Change-Id: I7a68a43697252eb566e51275460b9548a870a55f
Commit-Queue: Nicolas Boichat <>
Tested-by: Amin Hassani <>
Auto-Submit: Amin Hassani <>
Reviewed-by: Mike Frysinger <>
1 file changed