Response header handling via renderData() #412

Closed
seancorfield opened this Issue Dec 18, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@seancorfield
Member

seancorfield commented Dec 18, 2015

Add default (empty) render data structure and update code accordingly. Add renderer() function to access that data structure. Modify renderData() to use renderer().

Add header() to render data builder.

@seancorfield

This comment has been minimized.

Show comment
Hide comment
@seancorfield

seancorfield Dec 23, 2015

Member

New renderer() function returns a builder for renderData(), can be called anywhere (in a controller). It now has a header() function to add an HTTP response header and those are set before the status code is set when rendering data.

Member

seancorfield commented Dec 23, 2015

New renderer() function returns a builder for renderData(), can be called anywhere (in a controller). It now has a header() function to add an HTTP response header and those are set before the status code is set when rendering data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment