\r\n

51Degrees Pipeline Python  4.4

51Degrees Pipeline for Python

fiftyone_pipeline_core.web Namespace Reference

def  webevidence (request)
Get evidence from a web request (gets headers, cookies and query parameters) More...
def  set_response_header (flowData, response)
Set UACH response header in web response (sets Accept-CH header in response) More...

Function Documentation

◆ set_response_header()

def fiftyone_pipeline_core.web.set_response_header (   flowData,
  response  
)

Set UACH response header in web response (sets Accept-CH header in response)

@type response: Response

Parameters
response - A Response object
response_header_dict - Dictionary containing response header key and values to be set @rtype response
Returns
A response object containing headers with non null values in response

◆ webevidence()

def fiftyone_pipeline_core.web.webevidence (   request )

Get evidence from a web request (gets headers, cookies and query parameters)

@type request: Request

Parameters
request - A Request object @rtype dict
Returns
A dictionary of web evidence that can be using in flowdata.evidence.add_from_dict()
On This Page