correct location header after successful POST/PUT (fixes #21)