aboutsummaryrefslogtreecommitdiff
path: root/lib/http/request_type.go
AgeCommit message (Collapse)Author
2026-01-15all: convert license and copyright to use SPDX identifiersShulhan
With help of spdxconv tool [1], we able to bulk update all files license and copyright format to comply with SPDX formats. [1] https://kilabit.info/project/spdxconv/
2024-06-08lib/http: add request type HTMLShulhan
The RequestTypeHTML define the content type "text/html".
2024-03-15lib/http: refactor type of RequestType from int to stringShulhan
The reason is to make storing or encoding the RequestType value readable from human point of view instead of number, 0, 1, 2, etc.
2024-03-09lib/http: rename files for consistencyShulhan
If the type is in CamelCase the file should be using snake_case.