E
E
Evgeny Shiryaev2017-03-24 19:00:37
JavaScript
Evgeny Shiryaev, 2017-03-24 19:00:37

How to fix 406 Not Acceptable error?

Greetings!
After moving from apache to iis, I started getting a 406 Not Acceptable error on the page ( www.access.repair/404.html). As a result, the rest of the content is not loaded. All standard types are registered in MiME. Tell me where to look, they just haven't tried it yet.
ajax settings:
$.ajaxSetup({
type: "get",
cache:false,
async:true,
accepts: 'text/html',
dataType: "html",
isLocal:true,
crossDomain:false
})

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2017-03-24
@petermzg

https://support.microsoft.com/en-us/help/942050/er...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question