diff --git a/doc/source/cors.rst b/doc/source/cors.rst index c17ccd7f82..a221865b47 100644 --- a/doc/source/cors.rst +++ b/doc/source/cors.rst @@ -79,71 +79,14 @@ something went wrong the response status will be 0. .. _test CORS page: +-------------- Test CORS Page -------------- -:: +A sample cross-site test page is located in the project source tree +``doc/source/test-cors.html``. - - - - - Test CORS - - - - Token


- - Method
-

- - URL (Container or Object)


- - - -

-        

-


-

-
-        
-
-      
-    
+     .. literalinclude:: test-cors.html
 
 .. _CORS: https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS
 .. _preflight request: https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS#Preflighted_requests
diff --git a/doc/source/test-cors.html b/doc/source/test-cors.html
new file mode 100644
index 0000000000..b8a28a195f
--- /dev/null
+++ b/doc/source/test-cors.html
@@ -0,0 +1,60 @@
+
+
+  
+    
+    Test CORS
+  
+  
+
+    Token


+ + Method
+

+ + URL (Container or Object)


+ + + +

+    

+


+

+
+    
+
+  
+