Fix location header when responding to POST with HTTP 201