Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5bc41c commit ae464b1Copy full SHA for ae464b1
appengine/standard/pubsub/main.py
@@ -68,7 +68,7 @@ def receive_messages_handler():
68
current_app.config['PUBSUB_VERIFICATION_TOKEN']):
69
return 'Invalid request', 400
70
71
- envelope = json.loads(request.data.decode('utf-8'))
+ envelope = json.loads(request.get_data().decode('utf-8'))
72
payload = base64.b64decode(envelope['message']['data'])
73
74
MESSAGES.append(payload)
0 commit comments