Skip to content
Commit 2ea468a0 authored by George Liu's avatar George Liu
Browse files

Add Link header handling to PowerSubsystem



This commit is to update PowerSubsystem to respond to HEAD requests
in the way the redfish spec requires.

Tested:
HEAD /redfish/v1/Chassis/<str>/PowerSubsystem returns a correct
looking Link header.
Following that Link header resolves the schema file.

Get /redfish/v1/Chassis/BadChassis/PowerSubsystem returns 404.

Signed-off-by: default avatarGeorge Liu <liuxiwei@inspur.com>
Change-Id: I2f2a0e80b74471ddc037e899cfaf3ba307741475
parent 4ca3ec3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment