handle response header