Patternslib/Patterns

Is the Content-Type header needed in pat-calendar requests

Closed this issue · 0 comments

We are currently facing an issue with Zope refusing to respond to pat-calendar ajax calls, see plone/plone.restapi#1611.

I think the Content-Type header is not needed here:

response = await fetch(url, {
method: "GET",
mode: "cors",
headers: {
"Accept": "application/json",
"Content-Type": "application/json",
},
});