set status code to 201 instead of 200 for successful PUT
set status code to 301 for successful short_url resolve