bogdal / django-gcm

Google Cloud Messaging Server in Django
https://django-gcm.readthedocs.org
BSD 2-Clause "Simplified" License
98 stars 42 forks source link

apikey project doesn´t work #35

Open salberin opened 8 years ago

salberin commented 8 years ago

When checking out the API-key project and attempting to register a device, I get a bad request However, the data passed is OK. This is my first time using Django, I don´t know where to look for further information.

Also, a new ApiKey is not generated upon creating a new user. As far as I can see from the documentation, this should have happened?

salberin commented 8 years ago

OK. Found out that I got this error because my registration was sent as a chunked-encoded message, which apparently ticks off django-gcm mightily. Fixing the upload to a fixed encoded lenght fixes things, but why does it fail in the first place?