Files @ 851ea1139169
Branch filter:

Location: kallithea/rhodecode/lib/rcmail/exceptions.py

Tony Bussieres
No more relying on user agent to check if the request is for a git action. Patch candidate for issue #368


class InvalidMessage(RuntimeError):
    """
    Raised if message is missing vital headers, such
    as recipients or sender address.
    """


class BadHeaders(RuntimeError):
    """
    Raised if message contains newlines in headers.
    """