fix GET response header extraction