Skip to content

push.send()后没有推送限制数据 #55

@cookiemouse

Description

@cookiemouse

在调用push.send()后仅能看到{"sendno":"0","msg_id":"*********"}
建议将header中的数据添加到response中

如jpush/push/core.py的PushResponse中
def init(self, response):
self.status_code = response.status_code
data = response.json()
for (key, value) in response.headers.items():
data[key] = value

self.payload = data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions