Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 743

Administrators • Re: Unmatched content-type header in HTTP request

$
0
0
Modify ./jetty_base/webapps/zimbra/js/Startup1_1_all.js.zgz
  1. Unzip Startup1_1_all.js.zgz
  2. Beautify the unzipped JS
  3. Find something like

    Code:

    if (j) {    for (var h in j) {        if (j.hasOwnProperty(h)) {            this.__httpReq.setRequestHeader(h, j[h])        }    }}
  4. Add the following script before that section.

    Code:

    try {  JSON.parse(f);  j["Content-Type"] = "application/json; charset=utf-8";}catch(e) {}
  5. Zip this JS and overwrite the original file.
  6. Ctrl-F5 in the browser.

Statistics: Posted by dibery — Thu Feb 22, 2024 3:41 am



Viewing all articles
Browse latest Browse all 743

Trending Articles