package de.jeha.kame.crawler.core.http;

/**
 * @author jenshadlich@googlemail.com
 */
public enum ContentType {

    TEXT_HTML("text/html"),
    TEXT_PLAIN("text/plain");

    private final String value;

    ContentType(String contentType) {
        this.value = contentType;
    }

    public String getValue() {
        return value;
    }

}

@@ -107,16 +107,58 @@
 Type %7B%0A%0A
+    APPLICATION_JSON(%22application/json%22),%0A
     TEXT

add content type