oak
oak copied to clipboard
A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
I'd like to see the option to listen on a socket file instead of a port. This is how I used to deploy my express.js services, it makes it easier...
Hi there, just wonder is there a way to accept custom HTTP Methods/Verb in Oak? Like "LOGIN", "SIGN", etc. According to: https://www.rfc-editor.org/rfc/rfc9110.html#name-methods Custom HTTP Methods are allowed in HTTP.
I was experimenting with this package and noticed OPTIONS requests returning an 'Allowed' header instead of 'Allow'. As far as I am aware this is non-standard. [Reference to MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Allow) I...
After Upgrading to the latest version Spotted the Below Error on Deno Deploy Live Logs ```sh at async accept (https://deno.land/x/[email protected]/http_server_native.ts:93:38) 2022-08-26 12:27:05 [uncaught application error]: UnexpectedEof - early eof ```...
This follows up on my last PR to add middleware objects by doing the same thing to routers. One advantage of objects for routers is that one object can handle...
I use oak in my project which has both api controllers and static file controllers. I use `send` from oak to serve static file. I found my server has memory...
https://github.com/oakserver/oak/blame/aad49081dd7dca6781ec3cfcd7af395fc3884547/http_server_native_request.ts#L80 ```javascript [http_server_native_request.t] get remoteAddr(): string | undefined { return (this.#conn?.remoteAddr as Deno.NetAddr)?.hostname; } ``` I want know remote connect port. But I find oak just return native request hostname....
Hi all! This is a feature request. As an API designer and Oak user, I was looking for the HTTP Range header support in Oak and was pleased to see...