File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ Pusher now allows sending native notifications to iOS and Android devices. Check
158158
159159### Sending native pushes
160160
161- The native notifications API is hosted at ` nativepushclient -cluster1.pusher.com` and only accepts https requests.
161+ The native notifications API is hosted at ` nativepush -cluster1.pusher.com` and only accepts https requests.
162162
163163You can send pushes by using the ` notify ` method, either globally or on the instance. The method takes two parameters:
164164
@@ -366,12 +366,12 @@ print webhook["events"]
366366
367367Users can configure the library to use different backends to send calls to our API. The HTTP libraries we support are:
368368
369- * [ Requests] ( http://docs.python-requests.org/en/latest/ ) (` pusher.requests.RequestsBackend ` ). This is used by default.
369+ * [ Requests] ( http://docs.python-requests.org/en/latest/ ) (` pusher.requests.RequestsBackend ` ). This is used by default.
370370* [ Tornado] ( http://www.tornadoweb.org/en/stable/ ) (` pusher.tornado.TornadoBackend ` ).
371371* [ AsyncIO] ( http://asyncio.org/ ) (` pusher.aiohttp.AsyncIOBackend ` ).
372372* [ Google App Engine] ( https://cloud.google.com/appengine/docs/python/urlfetch/ ) (` pusher.gae.GAEBackend ` ).
373373
374- Upon initializing a Pusher instance, pass in any of these options to the ` backend ` keyword argument.
374+ Upon initializing a Pusher instance, pass in any of these options to the ` backend ` keyword argument.
375375
376376### Google App Engine
377377
Original file line number Diff line number Diff line change 22from .http import POST , Request , request_method
33from .util import ensure_text
44
5- DEFAULT_HOST = "nativepushclient -cluster1.pusher.com"
5+ DEFAULT_HOST = "nativepush -cluster1.pusher.com"
66RESTRICTED_GCM_KEYS = ['to' , 'registration_ids' ]
77API_PREFIX = 'server_api'
88API_VERSION = 'v1'
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def setUp(self):
2626 def test_notify_success_case (self ):
2727 request = self .client .notify .make_request (['yolo' ], self .success_fixture )
2828 self .assertEqual (request .method , u'POST' )
29- self .assertEqual (request .base_url , u'https://nativepushclient -cluster1.pusher.com:443' )
29+ self .assertEqual (request .base_url , u'https://nativepush -cluster1.pusher.com:443' )
3030 self .assertEqual (request .path , '/server_api/v1/apps/4/notifications' )
3131 self .assertEqual (request .params , {
3232 'interests' : ['yolo' ],
You can’t perform that action at this time.
0 commit comments