Skip to content

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

@ale-rt

Description

@ale-rt

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",
},
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions