DMTF / Redfish-Protocol-Validator

The Redfish Protocol Validator tests the HTTP protocol behavior of a Redfish service to validate that it conforms to the Redfish specification.
Other
14 stars 12 forks source link

Add try/except around HTTP redirect and SSE stream requests #10

Closed billdodd closed 3 years ago

billdodd commented 3 years ago

Based on feedback from issue #9, adding some try/except blocks around code that tries to trigger an HTTP redirect and code that opens the Server-Sent Events stream.

The PR also adds a version requirement to the requests package (>=2.23.0) to ensure a recent version is used. (The Protocol-Validator was developed and tested using version 2.23.0).

Fixes #9

mraineri commented 3 years ago

Approved 2/12