web-push-libs / pywebpush

Python Webpush Data encryption library
Mozilla Public License 2.0
305 stars 52 forks source link

as_curl() content-length typo fix #71

Closed danmaas closed 6 years ago

danmaas commented 6 years ago

The "Content-Length" transmitted with the curl request should be the length of the encoded data, not the length of the "--data-binary ..." command line parameter.

jrconlin commented 6 years ago

I'm not able to publish this to pypi for a bit, but will do when I can.