Skip to content

Commit

Permalink
Merge pull request #92 from DMTF/Raw-Reqquest-Delete
Browse files Browse the repository at this point in the history
Fixed bug where rf_raw_request.py would perform 'HEAD' instead of 'DELETE' when 'DELETE' is specified
  • Loading branch information
mraineri authored Nov 18, 2022
2 parents 13b08c2 + c2cb8aa commit d480917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rf_raw_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
elif args.method == "PUT":
resp = redfish_obj.put( args.request, body = body )
elif args.method == "DELETE":
resp = redfish_obj.head( args.request )
resp = redfish_obj.delete( args.request )
else:
resp = redfish_obj.get( args.request )

Expand Down

0 comments on commit d480917

Please sign in to comment.