SpineEventEngine / web

Spine web server and JS client library.
https://spine.io
Apache License 2.0
1 stars 3 forks source link

[1.x] Avoid `application/x-protobuf` content type for Base64 client requests #165

Open dmytro-kashcheiev opened 3 years ago

dmytro-kashcheiev commented 3 years ago

Replace client request Content-Type from application/x-protobuf to something custom.

This issue applies to both web and dart repositories.

The default implementation of Protobuf controllers for some web servers (for example Micronaut) expects bytes when they face Content-Type:application/x-protobuf instead they receive Base64 encoded body that leads to additional configuration issues. Probably some other Content-Type should be used.

armiol commented 1 year ago

Addressed for web via #194.