swift: don't allow PUT for temp URLs

Change-Id: Id5783851ac46e6a9f393da2187841750375e52a1