Using net/http methods instead of manually crafting http responses.