Well the correct response code is "201 Created".  But I added this if statement to avoid any issues with backward compatibility.  This way, if no `uri_prefix` is defined for the resource, it reverts to the old "200 OK" behavior.  Are you proposing to change the 201 to 200?  If so, that would be a step backward.  If you are proposing to make both branches return 201, that is fine by me but wouldn't be strictly backward compatible.