summaryrefslogtreecommitdiff
path: root/internal/http/http.go
AgeCommit message (Collapse)Author
2023-09-01Version: Update to 1.1.21.1.2jwijenbergh
2023-08-29Version: Update to 1.1.11.1.1jwijenbergh
2023-04-18Version: Update to 1.1.01.1.0jwijenbergh
2023-03-01Version: Update to 1.0.0jwijenbergh
2023-03-01Version: Downgrade to 0.99.0jwijenbergh
2023-03-01Format: Run black and gofumptjwijenbergh
2023-03-01Client + Exports + HTTP: Set a user-agent using the client's versionjwijenbergh
2023-02-17HTTP: Only add trailing slash for ensuring valid URLjwijenbergh
2023-02-16Format: Run gofumptjwijenbergh
2023-02-16HTTP: Implement join URL pathjwijenbergh
2023-02-16HTTP: Incorporate util ensure valid url with clean pathjwijenbergh
2023-01-31HTTP + Util: Always set the scheme to HTTPSjwijenbergh
2023-01-13HTTP: Make the timeout configurable per request using a contextjwijenbergh
2023-01-12HTTP: Set default timeout to 10 secondsjwijenbergh
2023-01-06Refactor: Re-use a HTTP clientjwijenbergh
2023-01-05HTTP: Set max read limit to 16MBjwijenbergh
2022-12-12simplify error handlingAleksandar Pesic
fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com>
2022-11-28Linter: Fix dupword errorsjwijenbergh
2022-11-28Refactor: Fix revive linter errors by deleting redundant prefixesjwijenbergh
2022-11-28Lint: Run godot fixjwijenbergh
Full command: golangci-lint run --disable-all -E godot --fix
2022-11-28Document: Add comments for most functions and packagesjwijenbergh
Errors and test files still need to be done. Also some getters are changed by removing the 'get' prefix
2022-11-24Style: Use stylecheck and fix errorsjwijenbergh
2022-11-10HTTP: Fix typo in status errorjwijenbergh
2022-10-19Refactor: Make errors use the parent's error leveljwijenbergh
- All wrapped errors have to be created with types.NewWrappedError to inherit the error level from the parent - Or types.NewWrappedErrorLevel can be used which means a custom error level is given. For example this is done with cancelling OAuth - Client public errors are forwarded with handleError that also logs it with the error's level
2022-10-13Format: Run gofumptjwijenbergh
2022-09-26HTTP: Add the body to status errorjwijenbergh
2022-09-26Refactor: Errors into custom export types and expose typesjwijenbergh
2022-09-20Module: Move to eduvpn/eduvpn-commonjwijenbergh
2022-09-19API + HTTP: Set the /disconnect timeout to 1 secondjwijenbergh
2022-08-23Formatting: Run golinesjwijenbergh
2022-08-19HTTP: Set a default timeout of 5 secondsjwijenbergh
2022-06-20Refactor: Errors to have one custom type that is to be wrappedjwijenbergh
- For this an `internal/types` package is created with a custom error type - This custom error type can give back the cause and traceback of an error
2022-09-20Server: Implement function for checking renewal button visibilityjwijenbergh