mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	Update django-cors-headers links (#8176)
This commit is contained in:
		
							parent
							
								
									380ac8e79d
								
							
						
					
					
						commit
						dabf2216c3
					
				| 
						 | 
					@ -31,11 +31,11 @@ In order to make AJAX requests, you need to include CSRF token in the HTTP heade
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The best way to deal with CORS in REST framework is to add the required response headers in middleware.  This ensures that CORS is supported transparently, without having to change any behavior in your views.
 | 
					The best way to deal with CORS in REST framework is to add the required response headers in middleware.  This ensures that CORS is supported transparently, without having to change any behavior in your views.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Otto Yiu][ottoyiu] maintains the [django-cors-headers] package, which is known to work correctly with REST framework APIs.
 | 
					[Adam Johnson][adamchainz] maintains the [django-cors-headers] package, which is known to work correctly with REST framework APIs.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[cite]: https://blog.codinghorror.com/preventing-csrf-and-xsrf-attacks/
 | 
					[cite]: https://blog.codinghorror.com/preventing-csrf-and-xsrf-attacks/
 | 
				
			||||||
[csrf]: https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)
 | 
					[csrf]: https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)
 | 
				
			||||||
[csrf-ajax]: https://docs.djangoproject.com/en/stable/ref/csrf/#ajax
 | 
					[csrf-ajax]: https://docs.djangoproject.com/en/stable/ref/csrf/#ajax
 | 
				
			||||||
[cors]: https://www.w3.org/TR/cors/
 | 
					[cors]: https://www.w3.org/TR/cors/
 | 
				
			||||||
[ottoyiu]: https://github.com/ottoyiu/
 | 
					[adamchainz]: https://github.com/adamchainz
 | 
				
			||||||
[django-cors-headers]: https://github.com/ottoyiu/django-cors-headers/
 | 
					[django-cors-headers]: https://github.com/adamchainz/django-cors-headers
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user