package com.wizzardo.tools.http;

/**
 * @author: wizzardo
 * Date: 3/1/14
 */
public enum ContentType {
    BINARY("application/octet-stream"),
    JSON("application/json; charset=utf-8"),
    XML("text/xml; charset=utf-8"),
    JPG("image/jpeg"),
    PNG("image/png"),
    GIF("image/gif"),;

    public final String text;

    ContentType(String text) {
        this.text = text;
    }
}

@@ -168,59 +168,36 @@
 json
-; charset=utf-8%22),%0A    XML(%22text/xml; charset=utf-8
+%22),%0A    XML(%22application/xml
 %22),%0A

fix content types