Zoltan Farkas created AVRO-1911:
-----------------------------------

             Summary: for avro HTTP content type instead of avro/binary, 
application/octet-stream;fmt=avro might be more appropriate?
                 Key: AVRO-1911
                 URL: https://issues.apache.org/jira/browse/AVRO-1911
             Project: Avro
          Issue Type: Improvement
            Reporter: Zoltan Farkas


the content type is defined in:

{code}
/** An HTTP-based {@link Transceiver} implementation. */
public class HttpTransceiver extends Transceiver {
  static final String CONTENT_TYPE = "avro/binary";
{code}

I suggest using for avro binary:
application/octet-stream;fmt=avro
and for avro json:
application/json;fmt=avro

this would take advantage of standard mime types...




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to