51Degrees Pipeline for Python

tests.test_default_elements_accept Namespace Reference

Detailed Description

The elements PipelineBuilder adds accept only the evidence they read, so
a default pipeline accepts what its engines read and no more. The ETag and
the Vary header of the client-side endpoints are built from what the
pipeline accepts.

Classes

class  DeclaresNothingElement
class  DefaultElementsAcceptTests

Functions

 default_pipeline ()
 accepted (pipeline, key)

Variables

tuple NOT_READ

Function Documentation

◆ accepted()

accepted ( pipeline,
key )

◆ default_pipeline()

default_pipeline ( )
A pipeline with the elements the builder adds and one element that
accepts header.user-agent alone.

Variable Documentation

◆ NOT_READ

tuple tests.test_default_elements_accept.NOT_READ
Initial value:
= ("header.if-none-match", "header.x-test", "header.x-query",
"header.cookie", "cookie.query", "server.client-ip")