这是indexloc提供的服务,不要输入任何密码
Skip to content

onHttpResponse fails to pick up request headers #6

@ApplySci

Description

@ApplySci

In this line;

httpRequest.headers.forEach((header, value) {

Shouldn't it be:
response.request.headers.forEach((header, value) {
As httpRequest.headers is empty, having only just been initialised, and response.request is the request as passed into the call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions