v0.166.0
Plain davegaeddert
Plain
by davegaeddert
1 month, 1 week 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)