Repository: plone/plone.restapi (language: python)

Issue:
Control Panels docs has empty example
The file `src/plone/restapi/tests/http-examples/controlpanels_patch.resp` is empty. Its git history is also empty.

It renders as an empty box at https://6.dev-docs.plone.org/plone.restapi/docs/source/controlpanels.html#updating-a-control-panel-with-patch


Discussion / hints:

Fix patch:
diff --git a/docs/source/controlpanels.md b/docs/source/controlpanels.md
index 8b2c64e713..09ef114ad8 100644
--- a/docs/source/controlpanels.md
+++ b/docs/source/controlpanels.md
@@ -78,9 +78,6 @@ To update the settings on a control panel, send a `PATCH` request to control pan
 
 A successful response to a `PATCH` request will be indicated by a {term}`204 No Content` response:
 
-```http
-HTTP/1.1 204 No Content
-```
 
 ```{literalinclude} ../../src/plone/restapi/tests/http-examples/controlpanels_patch.resp
 :language: http
diff --git a/news/1396.bugfix b/news/1396.bugfix
new file mode 100644
index 0000000000..08e87ddaaf
--- /dev/null
+++ b/news/1396.bugfix
@@ -0,0 +1,1 @@
+Fix empty .resp in docs of PATCH controlpanel


Test patch:
diff --git a/src/plone/restapi/tests/http-examples/controlpanels_patch.resp b/src/plone/restapi/tests/http-examples/controlpanels_patch.resp
index e69de29bb2..0074ded3bc 100644
--- a/src/plone/restapi/tests/http-examples/controlpanels_patch.resp
+++ b/src/plone/restapi/tests/http-examples/controlpanels_patch.resp
@@ -0,0 +1,2 @@
+HTTP/1.1 204 No Content
+