diff options
author | Jeffrey Armstrong <jeff@approximatrix.com> | 2022-05-06 12:53:08 -0400 |
---|---|---|
committer | Jeffrey Armstrong <jeff@approximatrix.com> | 2022-05-06 12:53:08 -0400 |
commit | 9917a9882eff675567007194661df57450016c89 (patch) | |
tree | e9d81ba6db3ee677a725180ed059cb0981384c34 /captain/codes.f90 | |
parent | f3b48d0678fe23c8ff4aed8bfdc370b3b8197b9f (diff) | |
download | levitating-9917a9882eff675567007194661df57450016c89.tar.gz levitating-9917a9882eff675567007194661df57450016c89.zip |
Login and session tracking now works via Gemini. Need to restrict operations in Gemini based on request auth levels still.
Diffstat (limited to 'captain/codes.f90')
-rw-r--r-- | captain/codes.f90 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/captain/codes.f90 b/captain/codes.f90 new file mode 100644 index 0000000..be6c07e --- /dev/null +++ b/captain/codes.f90 @@ -0,0 +1,23 @@ +module http_codes +implicit none + + integer, parameter::HTTP_CODE_SUCCESS = 200 + integer, parameter::HTTP_CODE_NOTFOUND = 404 + integer, parameter::HTTP_CODE_FAILURE = 500 + integer, parameter::HTTP_CODE_REDIRECT = 302 + integer, parameter::HTTP_CODE_UNAUTHORIZED = 401 + +end module http_codes + +module gemini_codes +implicit none + + integer, parameter::GEMINI_CODE_INPUT = 10 + integer, parameter::GEMINI_CODE_INPUT_PW = 11 + integer, parameter::GEMINI_CODE_SUCCESS = 20 + integer, parameter::GEMINI_CODE_REDIRECT = 30 + integer, parameter::GEMINI_CODE_TEMPFAIL = 40 + integer, parameter::GEMINI_CODE_PERMFAIL = 50 + integer, parameter::GEMINI_CODE_BAD_REQUEST = 59 + +end module gemini_codes
\ No newline at end of file |