mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vweb: remove chunked encoding support in server responses (#10750)
This commit is contained in:
@@ -64,11 +64,6 @@ pub fn (mut app App) html_page() vweb.Result {
|
||||
return app.html('<h1>ok</h1>')
|
||||
}
|
||||
|
||||
pub fn (mut app App) chunk() vweb.Result {
|
||||
app.enable_chunked_transfer(20)
|
||||
return app.html('Lorem ipsum dolor sit amet, consetetur sadipscing')
|
||||
}
|
||||
|
||||
// the following serve custom routes
|
||||
['/:user/settings']
|
||||
pub fn (mut app App) settings(username string) vweb.Result {
|
||||
|
||||
Reference in New Issue
Block a user