You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

HTTP response headers in a REST response

  1. Create a FunctionProperty on an entity, for example with the name info
  2. Use the set_response_header(name, value) function in the read function of the property
  3. Add the new property to the desired view to make sure that the property is evaluated in the response

Search results for "HTTP response headers in a REST response"

We could not find anything matching "HTTP response headers in a REST response" in our documentation. Please rephrase your search.

You can also ask your questions in the Structr Google Group or create a free account in the Structr Support Portal.
Click here to send feedback to the Structr team.