9 references to MimeApplicationAtom
System.Data.Services (9)
System\Data\Services\DataService.cs (2)
619
XmlConstants.
MimeApplicationAtom
,
1665
else if (WebUtil.CompareMimeType(mime, XmlConstants.
MimeApplicationAtom
))
System\Data\Services\Serializers\SyndicationDeserializer.cs (2)
190
if (mime != XmlConstants.
MimeApplicationAtom
)
192
throw DataServiceException.CreateBadRequestError(Strings.BadRequest_MimeTypeMustBeApplicationAtom(mime, XmlConstants.
MimeApplicationAtom
));
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
1051
linkType = String.Format(CultureInfo.InvariantCulture, "{0};{1}={2}", XmlConstants.
MimeApplicationAtom
, XmlConstants.AtomTypeAttributeName, linkType);
System\Data\Services\WebUtil.cs (4)
444
else if (WebUtil.CompareMimeType(contentType, XmlConstants.
MimeApplicationAtom
) ||
472
Strings.BadRequest_InvalidContentTypeForRequestUri(contentType, String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}', '{2}'", XmlConstants.MimeApplicationJson, XmlConstants.
MimeApplicationAtom
, XmlConstants.MimeAny)));
1609
string mime = HttpProcessUtility.SelectMimeType(mimeTypeText, new string[] { XmlConstants.
MimeApplicationAtom
});
1610
return WebUtil.CompareMimeType(mime, XmlConstants.
MimeApplicationAtom
);