View | Details | Raw Unified | Return to bug 60851
Collapse All | Expand All

(-)java/org/apache/coyote/http11/AbstractHttp11Protocol.java (-1 / +1 lines)
Lines 142-148 Link Here
142
    }
142
    }
143
143
144
144
145
    private String compressableMimeType = "text/html,text/xml,text/plain,text/css,text/javascript,application/javascript";
145
    private String compressableMimeType = "text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml";
146
    private String[] compressableMimeTypes = null;
146
    private String[] compressableMimeTypes = null;
147
    public String getCompressableMimeType() { return compressableMimeType; }
147
    public String getCompressableMimeType() { return compressableMimeType; }
148
    public void setCompressableMimeType(String valueS) {
148
    public void setCompressableMimeType(String valueS) {
(-)webapps/docs/config/http.xml (-1 / +1 lines)
Lines 352-358 Link Here
352
      compression may be used.
352
      compression may be used.
353
      The default value is
353
      The default value is
354
      <code>
354
      <code>
355
      text/html,text/xml,text/plain,text/css,text/javascript,application/javascript
355
      text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml
356
      </code>.
356
      </code>.
357
      </p>
357
      </p>
358
    </attribute>
358
    </attribute>

Return to bug 60851