mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Add HEAD method
This commit is contained in:
		| @@ -271,6 +271,8 @@ module.exports = function(RED) { | ||||
|  | ||||
|             if (this.method == "get") { | ||||
|                 RED.httpNode.get(this.url,cookieParser(),httpMiddleware,corsHandler,metricsHandler,this.callback,this.errorHandler); | ||||
|             } else if (this.method == "head") { //  https://httpwg.org/specs/rfc7231.html#rfc.section.4.3.2 | ||||
|                 RED.httpNode.head(this.url,cookieParser(),httpMiddleware,corsHandler,metricsHandler,this.callback,this.errorHandler); | ||||
|             } else if (this.method == "post") { | ||||
|                 RED.httpNode.post(this.url,cookieParser(),httpMiddleware,corsHandler,metricsHandler,jsonParser,urlencParser,multipartParser,rawBodyParser,this.callback,this.errorHandler); | ||||
|             } else if (this.method == "put") { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user