mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	[http] handle WebDAV methods
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
		
							parent
							
								
									0b372a344c
								
							
						
					
					
						commit
						99d046ca11
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -16,8 +16,8 @@
 | 
			
		|||
namespace i2p {
 | 
			
		||||
namespace http {
 | 
			
		||||
	const std::vector<std::string> HTTP_METHODS = {
 | 
			
		||||
		"GET", "HEAD", "POST", "PUT", "PATCH",
 | 
			
		||||
		"DELETE", "OPTIONS", "CONNECT", "PROPFIND"
 | 
			
		||||
		"GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "CONNECT", // HTTP basic methods
 | 
			
		||||
		"COPY", "LOCK", "MKCOL", "MOVE", "PROPFIND", "PROPPATCH", "UNLOCK", "SEARCH" // WebDAV methods, for SEARCH see rfc5323
 | 
			
		||||
	};
 | 
			
		||||
	const std::vector<std::string> HTTP_VERSIONS = {
 | 
			
		||||
		"HTTP/1.0", "HTTP/1.1"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue