Always include RequestMethod while exporting

This commit is contained in:
Jaex 2019-02-18 13:34:24 +03:00
parent 58968a4123
commit 6391b9337b

View file

@ -47,6 +47,7 @@ public class CustomUploaderItem
[DefaultValue(CustomUploaderDestinationType.None)]
public CustomUploaderDestinationType DestinationType { get; set; }
[DefaultValue(HttpMethod.POST), JsonProperty(DefaultValueHandling = DefaultValueHandling.Include)]
public HttpMethod RequestMethod { get; set; } = HttpMethod.POST;
// For backward compatibility