v0.165.0
Plain davegaeddert
Plain
by davegaeddert
2 weeks, 6 days ago

Response.status_code is read-only in Plain now. The status decides things everything downstream builds on — whether a body is allowed, how the response is framed on the wire — so it's fixed at construction. Renderers take it directly: self.render(form=form, status_code=422)