1. 11 Jan, 2023 4 commits
  2. 10 Jan, 2023 1 commit
  3. 09 Jan, 2023 2 commits
  4. 06 Jan, 2023 3 commits
  5. 28 Dec, 2022 3 commits
  6. 26 Dec, 2022 2 commits
  7. 21 Dec, 2022 3 commits
  8. 20 Dec, 2022 6 commits
  9. 19 Dec, 2022 13 commits
  10. 18 Dec, 2022 2 commits
  11. 16 Dec, 2022 1 commit
    • Jérome Perrin's avatar
      Form: set response content type when called directly · 36177abf
      Jérome Perrin authored
      Form.__call__ replaces page template call, so it is also responsible
      to set the content type in response.
      
      With Page Templates, ZopePageTemplate._exec (called by
      Shared.DC.Scripts.Bindings.__call__ and _bindAndExec) sets the
      response content type and calls pt_render. Form.__call__ also calls
      pt_render, so to behave like page template, it should also sets the
      response content type.
      
      In erp5_xhtml_style, we don't notice this, because global_definitions
      contains a setHeader call to set content type to html.
      36177abf