#line 718 "/home/travis/build/felix-lang/felix/src/packages/web.fdoc"
  /*
  Example:
    println$ str SC_OK;
  */
  
  class HTTPStatusCodes {
    enum status_code {
      SC_OK,
      SC_CREATED,
      SC_NO_CONTENT,
      SC_MOVED_PERMANENTLY,
      SC_TEMPORARY_REDIRECT,
      SC_BAD_REQUEST,
      SC_UNAUTHORIZED,
      SC_FORBIDDEN,
      SC_NOT_FOUND,
      SC_METHOD_NOT_ALLOWED,
      SC_INTERNAL_SERVER_ERROR,
      SC_NOT_IMPLEMENTED,
      SC_SERVICE_UNAVAILABLE,
      SC_SEE_OTHER,
      SC_CONTINUE
    }
  
    instance Str[status_code] {
      fun str: status_code -> string =
        |  #SC_CONTINUE => "100 Continue"
        |  #SC_OK => "200 OK"
        |  #SC_CREATED => "201 Created"
        |  #SC_NO_CONTENT => "204 No Content"
        |  #SC_MOVED_PERMANENTLY => "301 Moved Permanently"
        |  #SC_SEE_OTHER => "303 See Other"
        |  #SC_TEMPORARY_REDIRECT => "307 Temporary Redirect"
        |  #SC_BAD_REQUEST => "400 Bad Request"
        |  #SC_UNAUTHORIZED => "401 Unauthorized"
        |  #SC_FORBIDDEN => "403 Forbidden"
        |  #SC_NOT_FOUND => "404 Not Found"
        |  #SC_METHOD_NOT_ALLOWED => "405 Not Allowed"
        |  #SC_INTERNAL_SERVER_ERROR => "500 Internal Server Error"
        |  #SC_NOT_IMPLEMENTED => "501 Not Implemented"
        |  #SC_SERVICE_UNAVAILABLE => "503 Service Unavailable"
      ;
    }
  
  }