microapi.http¶
Some useful constants for use elsewhere in your application code:
- http.OK = 200¶
- http.CREATED = 201¶
- http.ACCEPTED = 202¶
- http.NO_CONTENT = 204¶
- http.BAD_REQUEST = 400¶
- http.UNAUTHORIZED = 401¶
- http.FORBIDDEN = 403¶
- http.NOT_FOUND = 404¶
- http.NOT_ALLOWED = 405¶
- http.IM_A_TEAPOT = 418¶
- http.APP_ERROR = 500¶