openfaas / of-watchdog

Reverse proxy for STDIO and HTTP microservices
MIT License
259 stars 115 forks source link

Adds env features from original watchdog #31

Closed thomasjpfan closed 5 years ago

thomasjpfan commented 5 years ago

Signed-off-by: Thomas Fan thomasjpfan@gmail.com

Adds the additional cgi headers into the environment, mirroring the original watchdog.

Description

Adds additional environment variables in getEnvironment.

Motivation and Context

For of-watchdog to be backwards compatibility with the original watchdog, the additional headers feature in CGI mode should be included.

Partially addresses #25 by adding more unit tests from mode=serializing.

How Has This Been Tested?

The unit tests from the original watchdog regarding the headers was migrated.

Types of changes

Checklist:

thomasjpfan commented 5 years ago

Closing this for now to adapt to openfaas's workflow.