DMTF / Redfish-Mockup-Server

A simple Python 3.4 program that can be copied into a folder at the top of any Redfish mockup and can serve Redfish requests on the specified IP/port.
Other
85 stars 38 forks source link

Fixed bad URIs when posting then deleting #34

Closed tomasg2012 closed 6 years ago

tomasg2012 commented 6 years ago

Properly decrements on DELETE, and properly uses unused uris when POSTing.

mraineri commented 6 years ago

Will leave open; the change should also have "Location" in the response for the POST to tell the client where the new resource resides.

tomasg2012 commented 6 years ago

Updated with Location header

mraineri commented 6 years ago

Approved 7/12