openfl.protocols.utils.get_headers

Contents

openfl.protocols.utils.get_headers#

openfl.protocols.utils.get_headers(context)[source]#

Get headers from context.

Parameters:

context – The context containing the headers.

Returns:

A dictionary where the keys are header names and the

values are the corresponding header values.

Return type:

headers