aboutsummaryrefslogtreecommitdiff
path: root/captain/codes.f90
blob: be6c07e06c831ade3bed49d1a18d789e0ac53ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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