mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
				synced 2025-10-31 02:37:56 +00:00 
			
		
		
		
	Changing SMS/MFA
This commit is contained in:
		| @@ -2011,7 +2011,13 @@ namespace OpenWifi { | ||||
|             return false; | ||||
|         } | ||||
|  | ||||
| 	    inline void SetCommonHeaders(bool CloseConnection=false) { | ||||
|         void DrainBody() { | ||||
|             if (Request->getContentLength() > 0) { | ||||
|                 std::ignore = ParseStream(); | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         inline void SetCommonHeaders(bool CloseConnection=false) { | ||||
| 	        Response->setVersion(Poco::Net::HTTPMessage::HTTP_1_1); | ||||
| 	        Response->setChunkedTransferEncoding(true); | ||||
| 	        Response->setContentType("application/json"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959