14 references to MimeApplicationXml
System.Data.Services (14)
System\Data\Services\DataService.cs (5)
627
XmlConstants.
MimeApplicationXml
,
1281
XmlConstants.
MimeApplicationXml
); // inexactContentType
1285
exactContentType = new string[] { XmlConstants.MimeApplicationAtomService, XmlConstants.MimeApplicationJson, XmlConstants.
MimeApplicationXml
};
1289
XmlConstants.
MimeApplicationXml
); // inexactContentType;
1672
WebUtil.CompareMimeType(mime, XmlConstants.
MimeApplicationXml
) ||
System\Data\Services\ErrorHandler.cs (2)
395
string[] availableTypes = new string[] { XmlConstants.
MimeApplicationXml
, XmlConstants.MimeApplicationJson };
416
contentType = contentType ?? XmlConstants.
MimeApplicationXml
;
System\Data\Services\ResponseBodyWriter.cs (1)
217
string contentType = (this.responseFormat == ContentFormat.Json) ? XmlConstants.MimeApplicationJson : XmlConstants.
MimeApplicationXml
;
System\Data\Services\Serializers\DictionaryContent.cs (1)
82
get { return XmlConstants.
MimeApplicationXml
; }
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
246
if (!WebUtil.CompareMimeType(contentType, XmlConstants.
MimeApplicationXml
))
System\Data\Services\WebUtil.cs (3)
440
WebUtil.CompareMimeType(contentType, XmlConstants.
MimeApplicationXml
))
460
Strings.BadRequest_InvalidContentTypeForRequestUri(contentType, String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}', '{2}'", XmlConstants.MimeApplicationJson, XmlConstants.
MimeApplicationXml
, XmlConstants.MimeTextXml)));
481
Strings.BadRequest_InvalidContentTypeForRequestUri(contentType, String.Format(CultureInfo.InvariantCulture, "'{0}', '{1}', '{2}'", XmlConstants.MimeApplicationJson, XmlConstants.
MimeApplicationXml
, XmlConstants.MimeTextXml)));
System\Data\Services\XmlConstants.cs (1)
204
internal const string MimeMetadata =
MimeApplicationXml
;