Bugfix for response.headers being a list and not ResponseHeaders()