From 35b26240faf3d945a7e7fa18b705c247ea557dd4 Mon Sep 17 00:00:00 2001 From: Jass Bagga Date: Mon, 21 Nov 2016 16:15:47 -0800 Subject: [PATCH] Update README.md --- samples/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/README.md b/samples/README.md index a0cd02d8fa..3534f86e45 100644 --- a/samples/README.md +++ b/samples/README.md @@ -25,7 +25,7 @@ Run the sample The SampleOrigin application will use port 5001, and SampleDestination will use 5000. Please ensure there are no other processes using those ports before running the CORS sample. As an example, apart from GET, HEAD and POST requests, PUT requests are allowed in the CORS policy on SampleDestination. Any others, like DELETE, OPTIONS etc. are not allowed and throw an error. -Content-Length has been added as an allowed header to the sample. Any other headers are not allowed and throw an error. +Cache-Control has been added as an allowed header to the sample. Any other headers are not allowed and throw an error. To edit the policy, please see app.UseCors() method in the Startup.cs file of SampleDestination. If using Visual Studio to launch the request origin: