feat: Support for patch method (#4637)
There is nothing HTTP speaking to prevent a multipart request with PATCH semantics.pull/4640/head
							parent
							
								
									a4d907a1bf
								
							
						
					
					
						commit
						4f36599458
					
				|  | @ -70,7 +70,7 @@ export const UploadProps = { | |||
|   action: PropsTypes.oneOfType([PropsTypes.string, PropsTypes.func]), | ||||
|   directory: PropsTypes.looseBool, | ||||
|   data: PropsTypes.oneOfType([PropsTypes.object, PropsTypes.func]), | ||||
|   method: PropsTypes.oneOf(tuple('POST', 'PUT', 'post', 'put')), | ||||
|   method: PropsTypes.oneOf(tuple('POST', 'PUT', 'PATCH', 'post', 'put', 'patch')), | ||||
|   headers: PropsTypes.object, | ||||
|   showUploadList: PropsTypes.oneOfType([PropsTypes.looseBool, ShowUploadListInterface]), | ||||
|   multiple: PropsTypes.looseBool, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Jérôme Prudent
						Jérôme Prudent