Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Controllers · mod_base
  • Reference
  • Backend developer
  • Controller
  • HTTP
  • Reliability

controller_nocontent

Module

mod_base

Return an empty HTTP 204 No Content response.

The controller accepts GET, PUT, POST, HEAD, and DELETE. It is useful as a dispatch target when a successful request deliberately has no representation.

Edit on GitHub

Related documentation

Controllers

controller_http_error

This controller is called for serving http error pages.

Controllers

controller_csp_report

Controller handling Content-Security-Policy reports.

Controllers

controller_file

Serve an uploaded-, resized- or library file.

Controllers

controller_mqtt_transport

Controller for transport of MQTT data between the browser (client) and server.

Controllers

controller_keyserver_key

Publish the site's RSA encryption public key as JavaScript.

Controllers

controller_ping

Simple controller for connection tests, used on the /test/connection page.

Controllers

controller_id

Handle different content representations of a page.

Controllers

controller_website_redirect

This controller does a redirect to the website property of the given resource.

Controllers

controller_api

controler_api processes authorized REST API requests: It provides an easy way to create API calls to allow computer programs to perform…

GitHub © 2026 Zotonic