Add Last-Modified header to POST and PUT /orderables endpoints

Description

The purpose of this ticket is to add a Last-Modified header to the response after creating or updating the orderable resource. The header should contain the orderable last modified date. The reason for adding this to simply take this date from the header on UI instead of taking this sometimes from the response body and from the header in other cases.

 

Acceptance Criteria:

  • the Last-Modified header is added to the POST and PUT responses

  • the header contains the last modified date of orderable

 

Status

Assignee

Paweł Pinker

Reporter

Klaudia Pałkowska

Labels

Story Points

1

Time tracking

16h

Epic Link

Components

Sprint

None

Fix versions

Priority

Major