Joshua Kaplan
Joshua Kaplan
Ah I see. It's likely an issue with how I'm building the non-typescript version from typescript. I'll look in to it.
I haven't been able to reproduce this issue. How are you making the HTTP request, and can you show me an example of your server file?
I was actually able to reproduce this with a gemini request as well. I'll look into it more
I think the error is in building the URL object. I'll fix this soon.
I pushed a change that catches a URL parsing failure. Does that fix your issue with HTTP requests as well?
Do you have an example of how you would want this to work?
With some adapting, I think it could work. Though I'm using the same term "middleware" here, it's different than express middleware.