avro/binary

avro/binary

[1] Apache Avro™ 1.7.7 Specification ( 版) <https://avro.apache.org/docs/current/spec.html#HTTP%2Bas%2BTransport>

The HTTP Content-Type of requests and responses should be specified as "avro/binary".

[2] [AVRO-488] Invalid HTTP Content-Type - ASF JIRA ( 版) <https://issues.apache.org/jira/browse/AVRO-488>

AIUI "avro/binary" is not a legal HTTP content type. It should be something more like "application/x-avro-binary", or registered with IANA as "application/avro-binary".

Also, perhaps the spec should mention an "application/avro-json" type as well?