Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@cookiemouse

Description

@cookiemouse
Issue body actions

在调用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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.