pusher / pusher-http-python

Pusher Channels HTTP API library for Python
https://pusher.com/docs/server_api_guide
MIT License
376 stars 113 forks source link

Why do you allow 30720 bytes in pusher_client.py while max 10240 bytes is allowed in your API? #220

Closed talboren closed 12 months ago

talboren commented 12 months ago

https://github.com/pusher/pusher-http-python/blob/239d67b7a047a18ee181922c0a1461ceaf7c565f/pusher/pusher_client.py#L94C33-L94C33 -> 413: The data content of this event exceeds the allowed maximum (10240 bytes).

benw-pusher commented 12 months ago

Our service has a limit of 10kb, however the library has a higher limit to allow specific use cases (where a customer has a dedicated cluster with us).