http-redirect: semi-exhaustive good and some bad paths

Generate all encodings of http scheme and all combinations of port
attached to host, with and without explicit path.  Verify host from
URI is used instead of host from Host: header.

Generate all combinations of host and port in host header with
absolute path of /.  Verify https url is returned.

Test at least once occurrance of each bad status code.  A few more
should be added.

Change-Id: If31724d8e3ab557943b9acd0c8d5ef682027407d
Signed-off-by: Milton Miller <miltonm@us.ibm.com>
2 files changed
tree: b41988a7b716aa027097205b8dfbd4b7a26c9bf8
  1. firstboot/
  2. http-redirect/
  3. LICENSE
  4. meson.build
  5. meson_options.txt
  6. README.md
README.md

phosphor-misc

phosphor-misc is a collection of miscellaneous OpenBMC functions that doesn't really fit anywhere else.

Contributing

If you have a new function in mind to be hosted in phosphor-misc, it is usually a good idea to mention it on the OpenBMC mailing list before writing any code. There might already be an implementation of the desired function or the community may suggest alternatives.

phosphor-misc patches are reviewed using the Gerrit instance at https://gerrit.openbmc-project.xyz.

Please submit patches to Gerrit. More information on using Gerrit can be found here. https://github.com/openbmc/phosphor-misc is a hosting mirror only and GitHub pull requests are not monitored and will not be accepted.

Patch checklist. Please ensure patches adhere to the following guidelines:

For questions or help please come join us on the mailing list or in IRC.