power-recovery: Add Content-Type

From https://www.w3.org/Protocols/rfc2616/rfc2616-sec7.html#sec7.2.1:
Any HTTP/1.1 message containing an entity-body SHOULD include a
Content-Type header field defining the media type of that body.

Redfish also mentions this "In HTTP messages, the media type is
specified in the Content-Type header."

bmcweb is attempting to validate content-type header,
https://gerrit.openbmc.org/c/openbmc/bmcweb/+/59941.

Change-Id: Ie020df1fd3b46ba1dad9720be5c8b384a77d7d7e
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
1 file changed
tree: 1344d73b7d69625a8a0d956f498f19ebddfc8a05
  1. architecture/
  2. designs/
  3. development/
  4. logo/
  5. release/
  6. security/
  7. style/
  8. testing/
  9. tof/
  10. userguide/
  11. anti-patterns.md
  12. cheatsheet.md
  13. code-of-conduct.md
  14. console.md
  15. CONTRIBUTING.md
  16. cpp-style-and-conventions.md
  17. features.md
  18. glossary.md
  19. host-management.md
  20. IPMITOOL-cheatsheet.md
  21. kernel-development.md
  22. LICENSE
  23. maintainer-workflow.md
  24. Makefile
  25. meta-layer-guidelines.md
  26. openbmc-conversion.md
  27. OWNERS
  28. README.md
  29. REDFISH-cheatsheet.md
  30. rest-api.md
  31. REST-cheatsheet.md
  32. SECURITY.md
  33. subtree.md
  34. yocto-development.md
README.md

OpenBMC documentation

The OpenBMC project is a Linux Foundation project whose goal is to produce a customizable, open-source firmware stack for Baseboard Management Controllers (BMCs). This repository contains documentation for OpenBMC as a whole. There may be component-specific documentation in the repository for each component.

The features document lists the project's major features with links to more information.

Contact

OpenBMC Development

These documents contain details on developing OpenBMC code itself

OpenBMC Usage

These documents describe how to use OpenBMC, including using the programmatic interfaces to an OpenBMC system.