Make idempotent write URI redirects keep method
Fix HTTP tests on Windows