tinyapi/serving.py
def method_not_allowed(self, start_response: typing.Callable) -> None:
        """
            This method will return a 405 error.
        """
        start_response("405 Method Not Allowed", [("Content-Type", "text/html")])
        return [b'405 Method Not Allowed']

            This method will return a 405 error.
        
This method will return a 405 error.
This method will return a 405 error .
def method_not_allowed(self, start_response: typing.Callable) -> None:
        start_response("405 Method Not Allowed", [("Content-Type", "text/html")])
        return [b'405 Method Not Allowed']
def method_not_allowed ( self , start_response : typing . Callable ) -> None : start_response ( "405 Method Not Allowed" , [ ( "Content-Type" , "text/html" ) ] ) return [ b'405 Method Not Allowed' ]
This method will return a 405 error.
This method will return a 405 error .
"""
            This method will return a 405 error.
        """
self
start_response
typing.Callable