openfl.protocols.utils.get_headers
- openfl.protocols.utils.get_headers(context) dict
Get headers from context.
- Parameters:
context – The context containing the headers.
- Returns:
headers – A dictionary where the keys are header names and the values are the corresponding header values.