mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
				synced 2025-10-30 18:27:49 +00:00 
			
		
		
		
	Framework update.
This commit is contained in:
		| @@ -2040,13 +2040,11 @@ namespace OpenWifi { | ||||
|  | ||||
| 	    inline void ProcessOptions() { | ||||
| 			// try to figure out if we are doing a CORS options or plain OPTIONS | ||||
|             std::cout << __LINE__ << " : process_options" << std::endl; | ||||
|             AddCORS(); | ||||
|             Response->set("Vary", "Origin, Access-Control-Request-Headers, Access-Control-Request-Method"); | ||||
| 	        SetCommonHeaders(); | ||||
| 	        Response->set("Access-Control-Allow-Credentials", "true"); | ||||
|             Response->setContentLength(0); | ||||
| 	        // Response->setStatus(Poco::Net::HTTPResponse::HTTP_NO_CONTENT); | ||||
|             Response->setStatus(Poco::Net::HTTPResponse::HTTP_OK); | ||||
| 	        Response->send(); | ||||
| 	    } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959