aboutsummaryrefslogtreecommitdiff
path: root/lib/http/server.go
AgeCommit message (Expand)Author
2026-02-13lib/http: realign the fields in struct ServerShulhan
2026-02-11lib/http: implement server auto shutdown when idleShulhan
2026-02-11lib/http: add BasePath to the ServerOptionsShulhan
2026-02-05lib/http: change HandleFS redirect status code to 301 Moved PermanentlyShulhan
2026-02-05lib/http: handle file system with canonical directory end with slash "/"Shulhan
2026-02-02lib/http: add field Listener to ServerOptionsShulhan
2026-01-06lib/http: add second return value, statusCode, to FSHandlerShulhan
2025-01-22lib/http: always refresh a directory on GET requestShulhan
2024-09-30lib/http: add Server method to register handler by functionShulhan
2024-03-26lib/http: remove unnecessary second return value in getFSNodeShulhan
2024-03-21lib/memfs: trim trailing slash ("/") in the path of Get methodShulhan
2024-03-15lib/http: refactoring FSHandler type to return [*memfs.Node]Shulhan
2024-03-15lib/http: refactoring type of RequestMethod from int to stringShulhan
2024-03-09lib/http: refactoring NewServer and NewClientShulhan
2024-03-09lib/http: refactor of RegisterEndpoint and RegisterSSE to non-pointerShulhan
2024-03-05lib/http: move CORS initialization and handler to cors_optionsShulhan
2024-03-05lib/http: handle CORS independentlyShulhan
2024-03-05all: comply with linter recommendations #3Shulhan
2024-03-05all: comply with linter recommendations #2Shulhan
2024-03-05all: comply with linter recommendations #1Shulhan
2024-03-02all: move the repository to "git.sr.ht/~shulhan/pakakeh.go"Shulhan
2024-01-25lib/path: new package to work with pathShulhan
2024-01-24lib/http: add support for If-Modified-Since in HandleFSShulhan
2024-01-24lib/http: update doc to use comment linksShulhan
2024-01-24lib/http: refactoring Range request, limit content served by serverShulhan
2023-12-13all: fix linter warnings reported by reviveShulhan
2023-11-26lib/http: implement Server-Sent Events (SSE)Shulhan
2023-07-09lib/http: fix missing query when handling redirect in HandleFSShulhan
2023-05-25lib/http: redirect path with slash if request is directoryShulhan
2023-05-20all: remove any usage of debug.Value in all packagesShulhan
2023-03-26lib/http: check and log the error when writing response in handleRangeShulhan
2023-03-12lib/http: reformat comment in Client GenerateHttpRequestShulhan
2023-03-12lib/http: add support for HTTP Range in ServerShulhan
2023-02-25all: access embedded field or methods using the type nameShulhan
2022-08-03lib/http: add server options to generate index.html automaticallyShulhan
2022-05-09all: reformat all codes using gofmt 1.19 (the Go tip)Shulhan
2022-04-06all: replace any usage of ioutil package with os or ioShulhan
2022-03-31lib/http: rewrite ServerOptions FSHandler to handle request in generalShulhan
2022-03-30lib/http: implement handler to authorized request to Server MemfsShulhan
2022-03-27lib/http: use package mlog for loggingShulhan
2021-12-26lib/http: remove field memfs.Options in ServerOptionsShulhan
2021-12-19lib/memfs: remove field ContentEncoding from EmbedOptions and NodeShulhan
2021-10-09lib/memfs: refactoring Node field V into ContentShulhan
2021-09-22lib/http: support server caching file system using ETagShulhan
2021-08-17lib/http: fix missing content type for XML HeaderShulhan
2021-08-06lib/http: fix return value on getFSNodeShulhan
2021-07-08lib/http: check request path as HTML file on getFSNodeShulhan
2021-06-26http: remove the Memfs field from ServerShulhan
2021-06-26http: export the Options field on the ServerShulhan
2021-03-05http: move the CORS options in ServerOptions to separate structShulhan