Casper Küthe

Results 29 comments of Casper Küthe

> It shouldn't be a problem to cache the header until it's completely read. No, but the problem is that I can't access the data to cache it. And can't...

Temporary solution: the code runs if you import `os` after `x.vweb` ```v import x.vweb import os ``` Wondering why this is happening ...

It's only on linux for me, have no issues on windows

V supports struct embedding. You can use composition to add more features from other external modules into your code.

Also have a look at vweb's [controller functionality](https://github.com/vlang/v/blob/master/vlib/vweb/README.md#controllers) You can use this functionality to include external vweb apps into your own app, for example an auth App could handle all...

> 0.0.0.0:45123: net: op timed out; code: 9 Why is it trying to dial to an ipv4 address when an ipv6 address is given? Seems like a bug in the...

The error `error parsing request: none` also occurs when not using any channels or workers and using some benchmarking software, so this issue is deeper than vweb. I think it...

@xiusin when I use another benchmarking software like `https://github.com/americanexpress/baton` the `error parsing request: none` dissapears! Can you confirm this? Still not sure what could cause this...

I have not been able to reproduce the bug every time. I believe most of the concurrency issues of vweb and http.server are related, but I've been unable to find...

If you want to set a custom mime type you should do it with `Context.set_content_type`. The `Context.file` is missing a check to see if `ctx.content_type` is already set. I think...