1 implementation of ContentDisposition
Microsoft.AspNetCore.Http (1)
FormFile.cs (1)
37
public string
ContentDisposition
16 references to ContentDisposition
Microsoft.AspNetCore.Http.Tests (4)
Features\FormFeatureTests.cs (4)
304
Assert.Equal(@"form-data; name=""myfile1""; filename=""temp.html""", file.
ContentDisposition
);
389
Assert.Equal(@"form-data; name=""myfile1""; filename=""temp.html""; filename*=utf-8''t%c3%a9mp.html", file.
ContentDisposition
);
436
Assert.Equal(@"form-data; name=""myfile1""; filename=""temp.html""", file.
ContentDisposition
);
585
Assert.Equal(@"form-data; name=""myfile1""; filename=""temp.html""", file.
ContentDisposition
);
Microsoft.AspNetCore.Mvc.IntegrationTests (12)
FormCollectionModelBindingIntegrationTest.cs (2)
61
Assert.Equal("form-data; name=Address.File; filename=text.txt", file.
ContentDisposition
);
109
Assert.Equal("form-data; name=CustomParameter; filename=text.txt", file.
ContentDisposition
);
FormFileModelBindingIntegrationTest.cs (9)
60
Assert.Equal("form-data; name=Address.File; filename=text.txt", file.
ContentDisposition
);
107
Assert.Equal("form-data; name=Address.File; filename=text.txt", file.
ContentDisposition
);
158
Assert.Equal("form-data; name=Parameter1.Address.File; filename=text.txt", file.
ContentDisposition
);
220
Assert.Equal("form-data; name=Person.Address.File; filename=text.txt", file.
ContentDisposition
);
438
Assert.Equal("form-data; name=Person.Address.File; filename=text.txt", file.
ContentDisposition
);
499
Assert.Equal("form-data; name=files; filename=text.txt", file.
ContentDisposition
);
588
Assert.Equal("form-data; name=files; filename=text.txt", file.
ContentDisposition
);
729
Assert.Equal("form-data; name=p.Specs; filename=text.txt", file.
ContentDisposition
);
1016
Assert.Equal("form-data; name=p.Specs; filename=text.txt", file.
ContentDisposition
);
TryUpdateModelIntegrationTest.cs (1)
1068
Assert.Equal("form-data; name=files; filename=text.txt", file.
ContentDisposition
);