:type context: behave.runner.Context

def set_default_headers(context):
    """
       :type context: behave.runner.Context
    """
    headers = row_table(context)

    def default_headers_function():
        return headers

    requestsdefaulter.default_headers(default_headers_function)