aboutsummaryrefslogtreecommitdiff
path: root/lib/http/server.go
AgeCommit message (Expand)Author
2021-02-16http: export the HandleFS methodShulhan
2021-02-06http: add prefix Header to constants AcceptEncoding and ContentEncodingShulhan
2021-01-12http: initialize Memfs if Development options is trueShulhan
2021-01-10memfs: refactoring Go generate code to use memfs.MemFS instanceShulhan
2021-01-08http: embed the memfs.Options into ServerOptionsShulhan
2021-01-08memfs: refactoring, allow multiple instances of memfs in single packageShulhan
2020-10-05http: increase the debug level from 2 to 3Shulhan
2020-07-26http: allow setting response type when registering PUTShulhan
2020-06-27http: check for possible index.html file on getFSNodeShulhan
2020-06-17http: log error when debug value is >= 3 on getFSNodeShulhan
2020-06-09http: add method Stop for HTTP serverShulhan
2020-06-08http: log error if path not exist if debug value is set to 3 or greaterShulhan
2020-05-16http: handle CORS on method GET, HEAD, and POSTShulhan
2020-05-13http: support CORS with white list of origin and headersShulhan
2020-05-12http: prefix the header constants with "Header"Shulhan
2020-05-07memfs: simplify the API, add directory parameter to NewShulhan
2020-04-01http: embed the standard http package instead of separate fieldShulhan
2020-03-30http: set the lowest debug level to 2Shulhan
2020-03-29http: simplify server Endpoint registrationsShulhan
2020-03-24http: fix the content-length header not set if file is not cachedShulhan
2019-12-09memfs: implement os.FileInfo on NodeShulhan
2019-11-19http: disable creating Memfs if Root options is emptyShulhan
2019-10-01http: set default read and write timeout to 30 secondsShulhan
2019-09-27all: remove unnecessary trailing newlineShulhan
2019-09-23http: remove unnecessary logging on handleGetShulhan
2019-09-23http: export the Memfs fieldShulhan
2019-09-12http: implement key binding in registered Endpoint's PathShulhan
2019-08-05lib/memfs: add method to encode the content of fileShulhan
2019-05-17http: print the not-found path on Server's getFSNode()Shulhan
2019-04-19memfs: add parameter to make reading file content become optionalShulhan
2019-04-15http: allow serving directory with slashShulhan
2019-04-15http: change server initialization using optionsShulhan
2019-02-19http: listen and serve using TLS if TLSConfig is definedShulhan
2019-02-19http: add method to temporary redirect request to other locationShulhan
2019-01-05lib/http: rename handler to endpointShulhan
2018-12-18lib/http: add evaluator, a middleware between request and handlerShulhan
2018-12-17lib/http: export content type constantsShulhan
2018-12-16lib/http: handle large size of file that is not on memoryShulhan
2018-12-16lib/http: rename "path" variable to minimize conflict with package nameShulhan
2018-12-16lib/http: handle HTTP request OPTIONSShulhan
2018-12-16lib/http: new package for simplifying writing HTTP serverShulhan