Patternslib / Patterns

Library for quickly applying rich interaction patterns without the need to write any JavaScript.
http://patternslib.com
Other
103 stars 43 forks source link

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

Closed ale-rt closed 1 year ago

ale-rt commented 1 year ago

We are currently facing an issue with Zope refusing to respond to pat-calendar ajax calls, see https://github.com/plone/plone.restapi/issues/1611.

I think the Content-Type header is not needed here: https://github.com/Patternslib/Patterns/blob/7e391d33ed84bf8461d7c0c04f80ec157c23e549/src/pat/calendar/calendar.js#L311-L318