zopefoundation / zope.publisher

Map requests from HTTP/WebDAV clients, web browsers, XML-RPC and FTP clients onto Python objects
Other
3 stars 13 forks source link

Introduce IJSONRequest interface #53

Closed thet closed 1 year ago

thet commented 4 years ago

Provide new interface IJSONRequest used to mark requests with an Accept: application/json header.

Very early draft for exploring ideas on supporting application/json requests and possibly other type of requests. Those requests can than explicitly be adapted to.

Related PRs: https://github.com/zopefoundation/Zope/pull/845 https://github.com/zopefoundation/zope.publisher/pull/53

References the discussion plone.rest and how it intercepts the traversing chain for JSON requests: https://community.plone.org/t/json-application-messaging-in-plone-core/12353

icemac commented 2 years ago

@thet Are you still working on this PR or can we close it?

icemac commented 1 year ago

Closing as it seems to be abandoned.