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