/dports/irc/smuxi/smuxi-1.1/lib/ServiceStack/src/ServiceStack.Common/Web/ |
H A D | HttpResponseFilter.cs | 42 if (contentType.IsNullOrEmpty()) in Register() 45 var parts = contentType.Split('/'); in Register() 47 this.ContentTypeFormats[format] = contentType; in Register() 56 if (contentType.IsNullOrEmpty()) in Register() 59 var parts = contentType.Split('/'); in Register() 61 this.ContentTypeFormats[format] = contentType; in Register() 79 switch (contentType) in Serialize() 97 var contentType = requestContext.ResponseContentType; in SerializeToBytes() 193 var serializer = GetResponseSerializer(contentType); in SerializeToStream() 204 var serializer = GetResponseSerializer(contentType); in SerializeToResponse() [all …]
|
H A D | ContentType.cs | 59 if (contentType == null) in GetEndpointAttributes() 62 var realContentType = GetRealContentType(contentType); in GetEndpointAttributes() 99 return contentType == null in GetRealContentType() 101 : contentType.Split(';')[0].Trim(); in GetRealContentType() 109 public static bool IsBinary(this string contentType) in IsBinary() argument 133 public static Feature GetFeature(string contentType) in GetFeature() argument 135 if (contentType == null) in GetFeature() 174 public static string GetContentFormat(string contentType) in GetContentFormat() argument 176 if (contentType == null) return contentType; in GetContentFormat() 177 var parts = contentType.Split('/'); in GetContentFormat() [all …]
|
/dports/textproc/libqxp/libqxp-0.0.0/src/test/ |
H A D | QXPDeobfuscatorTest.cpp | 108 contentType = deobfuscate(contentType); in test4Deobfuscation() 120 contentType = 0x22; in test4Deobfuscation() 123 contentType = deobfuscate(contentType); in test4Deobfuscation() 131 contentType = 0x38; in test4Deobfuscation() 134 contentType = deobfuscate(contentType); in test4Deobfuscation() 142 contentType = 0xc1; in test4Deobfuscation() 145 contentType = deobfuscate(contentType); in test4Deobfuscation() 160 contentType = deobfuscate(contentType); in test4Deobfuscation() 171 contentType = deobfuscate(contentType); in test4Deobfuscation() 182 contentType = deobfuscate(contentType); in test4Deobfuscation() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/testing/web-platform/meta/FileAPI/blob/ |
H A D | Blob-slice.html.ini | 3 [Invalid contentType ("ÿ")] 6 [Invalid contentType ("te(xt/plain")] 9 [Invalid contentType ("te)xt/plain")] 12 [Invalid contentType ("te<xt/plain")] 15 [Invalid contentType ("te>xt/plain")] 18 [Invalid contentType ("te@xt/plain")] 21 [Invalid contentType ("te,xt/plain")] 24 [Invalid contentType ("te;xt/plain")] 27 [Invalid contentType ("te:xt/plain")] 36 [Invalid contentType ("te/xt/plain")] [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/src/Microsoft.Web.Mvc/Resources/ |
H A D | DefaultFormatHelper.cs | 60 if (contentType != null) in GetRequestFormat() 62 return contentType; in GetRequestFormat() 101 ContentType contentType; in GetResponseFormatsRouteAware() 136 ContentType contentType; in GetResponseFormatsCore() 160 if (contentType != null) in GetAcceptHeaderElements() 188 ContentType contentType = null; in ParseContentType() 215 return contentType; in ParseContentType() 221 contentType = null; in TryGetFromRouteData() 230 return contentType != null; in TryGetFromRouteData() 241 if (contentType != null) in TryGetFromUri() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/go.opentelemetry.io/collector/receiver/otlpreceiver/ |
H A D | otlphttp.go | 39 contentType string, 42 body, ok := readAndCloseBody(resp, req, contentType) 66 contentType string, 69 body, ok := readAndCloseBody(resp, req, contentType) 93 contentType string, 96 body, ok := readAndCloseBody(resp, req, contentType) 134 writeResponse(w, contentType, statusCode, s.Proto()) 150 writeResponse(w, contentType, statusCode, s.Proto()) 167 if contentType == "application/json" { 177 contentType = fallbackContentType [all …]
|
/dports/textproc/zorba/zorba-2.7.0/test/http-test-data/docroot/http-test-data/ |
H A D | request.php | 3 function emitMultipart($contentType) argument 5 list ($type, $boundary) = split("; ", $contentType); 18 $contentType = ""; 38 $contentType = $value; 60 if (strcmp($contentType, "") == 0) { 82 if (substr($contentType, 0, 5) == "text/" || strstr($contentType, "xml")) { 95 $toText = substr($contentType, 0, 5) == "text/" || strstr($contentType, "xml"); 137 $contentType = ""; variable 147 $contentType = $value; variable 151 $contentType = $value; variable [all …]
|
/dports/www/gitea/gitea-1.16.5/vendor/github.com/fxamacker/cbor/v2/ |
H A D | tag.go | 139 contentType reflect.Type member 191 if contentType == nil { 195 contentType = contentType.Elem() 204 if typ == contentType { 211 t.t[contentType] = tag 218 contentType = contentType.Elem() 221 delete(t.t, contentType) 243 if contentType.PkgPath() == "" || contentType.Kind() == reflect.Interface { 246 if contentType == typeTime { 252 if contentType == typeTag { [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/testing/resources/javascript/xfa_specific/ |
H A D | bug_1137668.in | 15 <script contentType="application/x-javascript"> 86 <script contentType="application/x-javascript"> 90 <script contentType="application/x-javascript"> 94 <script contentType="application/x-javascript"> 100 <script contentType="application/x-javascript"> 104 <script contentType="application/x-javascript"> 121 <script contentType="application/x-javascript"> 125 <script contentType="application/x-javascript"> 129 <script contentType="application/x-javascript"> 146 <script contentType="application/x-javascript"> [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Channels/ |
H A D | FramingEncoders.cs | 117 EncodedContentType(string contentType) in EncodedContentType() argument 122 public static EncodedContentType Create(string contentType) in Create() argument 124 if (contentType == FramingEncodingString.BinarySession) in Create() 128 else if (contentType == FramingEncodingString.Binary) in Create() 156 else if (contentType == FramingEncodingString.MTOM) in Create() 162 return new EncodedContentType(contentType); in Create() 177 public EncodedUpgrade(string contentType) in EncodedUpgrade() argument 178 : base(FramingRecordType.UpgradeRequest, contentType) in EncodedUpgrade() 214 …Buffer.BlockCopy(contentType.EncodedBytes, 0, buffer, offset + via.EncodedBytes.Length, contentTyp… in EncodeStart() 348 …Buffer.BlockCopy(contentType.EncodedBytes, 0, buffer, offset + via.EncodedBytes.Length, contentTyp… in EncodeStart() [all …]
|
H A D | MessageEncoder.cs | 118 public virtual bool IsContentTypeSupported(string contentType) in IsContentTypeSupported() argument 120 if (contentType == null) in IsContentTypeSupported() 128 if (supportedContentType == contentType) in IsContentTypeSupported() 131 if (contentType.Length > supportedContentType.Length && in IsContentTypeSupported() 133 contentType[supportedContentType.Length] == ';') in IsContentTypeSupported() 139 if (contentType.Length == supportedContentType.Length) in IsContentTypeSupported() 156 …if (ch == '\r' && contentType.Length > supportedContentType.Length + 1 && contentType[i + 1] == '\… in IsContentTypeSupported() 159 ch = contentType[i]; in IsContentTypeSupported() 166 while (i < contentType.Length) in IsContentTypeSupported() 168 ch = contentType[i]; in IsContentTypeSupported() [all …]
|
/dports/sysutils/hfsexplorer/hfsexplorer-hfsexplorer-0.23.1/src/java/org/catacombae/storage/ps/ |
H A D | PartitionType.java | 89 private final ContentType contentType; field in PartitionType 96 private PartitionType(ContentType contentType) { in PartitionType() argument 97 this.contentType = contentType; in PartitionType() 101 this(contentType); in PartitionType() 102 if(contentType != ContentType.FILE_SYSTEM) in PartitionType() 108 this(contentType); in PartitionType() 115 this(contentType); in PartitionType() 116 if(contentType != ContentType.CONTAINER) in PartitionType() 122 return contentType; in getContentType() 126 if(contentType != ContentType.FILE_SYSTEM) in getAssociatedFileSystemType() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.Services/System/Web/Services/Protocols/ |
H A D | Scalars.cs | 209 int semi = contentType.IndexOf(';'); in GetBase() 211 return contentType; in GetBase() 216 string baseCT = GetBase(contentType); in GetMediaType() 224 return GetParameter(contentType, "charset"); in GetCharset() 228 return GetParameter(contentType, "action"); in GetAction() 252 internal static bool IsSoap(string contentType) { in IsSoap() argument 253 string type = GetBase(contentType); in IsSoap() 258 internal static bool IsXml(string contentType) { in IsXml() argument 259 string type = GetBase(contentType); in IsXml() 265 string type = GetBase(contentType); in IsHtml() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.Packaging/src/System/IO/Packaging/ |
H A D | ContentType.cs | 73 internal ContentType(string contentType) in ContentType() argument 75 if (contentType == null) in ContentType() 78 if (contentType.Length == 0) in ContentType() 84 …if (IsLinearWhiteSpaceChar(contentType[0]) || IsLinearWhiteSpaceChar(contentType[contentType.Lengt… in ContentType() 89 ValidateCarriageReturns(contentType); in ContentType() 97 ParseTypeAndSubType(contentType); in ContentType() 108 _originalString = contentType; in ContentType() 173 return AreTypeAndSubTypeEqual(contentType, false); in AreTypeAndSubTypeEqual() 194 if (contentType != null) in AreTypeAndSubTypeEqual() 275 …Debug.Assert(!IsLinearWhiteSpaceChar(contentType[0]) && !IsLinearWhiteSpaceChar(contentType[conten… in ValidateCarriageReturns() [all …]
|
/dports/comms/pear-Horde_SyncMl/Horde_SyncMl-2.0.7/lib/Horde/SyncMl/Device/ |
H A D | Nokia.php | 20 * @param string $contentType The content type of the content. 25 public function convertClient2Server($content, $contentType) argument 27 list($content, $contentType) = 28 parent::convertClient2Server($content, $contentType); 40 "\nInput converted for server ($contentType):\n$content\n"); 42 return array($content, $contentType); 55 * @param string $contentType The content type of content as returned 63 public function convertServer2Client($content, $contentType, $database) argument 67 list($content, $contentType, $encodingType) = 76 "\nOutput converted for client ($contentType):\n$content\n"); [all …]
|
H A D | Synthesis.php | 24 * @param string $contentType The content type of content as returned 32 public function convertServer2Client($content, $contentType, $database) argument 34 list($content, $contentType, $encodingType) = 35 parent::convertServer2Client($content, $contentType, $database); 57 return array($content, $contentType, $encodingType); 64 * @param string $contentType The contentType of the content. 69 public function convertClient2Server($content, $contentType) argument 71 list($content, $contentType) = 72 parent::convertClient2Server($content, $contentType); 87 "\ninput converted for server ($contentType):\n$content\n"); [all …]
|
H A D | P800.php | 34 * @param string $contentType The contentType of the content. 39 public function convertClient2Server($content, $contentType) argument 41 list($content, $contentType) = 42 parent::convertClient2Server($content, $contentType); 71 "\ninput converted for server ($contentType):\n$content\n"); 73 return array($content, $contentType); 84 * @param string $contentType The content type of content as returned 92 public function convertServer2Client($content, $contentType, $database) argument 94 list($content, $contentType, $encodingType) = 95 parent::convertServer2Client($content, $contentType, $database); [all …]
|
/dports/www/bolt/bolt-2.2.24/src/ |
H A D | Config.php | 350 $contentType = $this->parseContentType($key, $contentType, $generalConfig); 351 $contentTypes[$contentType['slug']] = $contentType; 412 if (!isset($contentType['name']) && !isset($contentType['slug'])) { 416 if (!isset($contentType['singular_name']) && !isset($contentType['singular_slug'])) { 428 $contentType['slug'] = Slugify::create()->slugify($contentType['name']); 458 $contentType['tablename'] = $contentType['slug']; 460 $contentType['tablename'] = Slugify::create()->slugify($contentType['tablename']); 468 if (isset($contentType['taxonomy']) && !is_array($contentType['taxonomy'])) { 469 $contentType['taxonomy'] = array($contentType['taxonomy']); 473 if (!empty($contentType['relations']) && is_array($contentType['relations'])) { [all …]
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ |
H A D | ContentTypeImpl.java | 35 private final @NotNull String contentType; field in ContentTypeImpl 44 public ContentTypeImpl(String contentType) { in ContentTypeImpl() argument 45 this(contentType, null, null); in ContentTypeImpl() 48 public ContentTypeImpl(String contentType, @Nullable String soapAction) { in ContentTypeImpl() argument 49 this(contentType, soapAction, null); in ContentTypeImpl() 53 this(contentType, soapAction, accept, null); in ContentTypeImpl() 57 this.contentType = contentType; in ContentTypeImpl() 63 internalContentType = new ContentType(contentType); in ContentTypeImpl() 97 return contentType; in getContentType() 147 public String contentType; field in ContentTypeImpl.Builder [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ |
H A D | ContentTypeImpl.java | 35 private final @NotNull String contentType; field in ContentTypeImpl 44 public ContentTypeImpl(String contentType) { in ContentTypeImpl() argument 45 this(contentType, null, null); in ContentTypeImpl() 48 public ContentTypeImpl(String contentType, @Nullable String soapAction) { in ContentTypeImpl() argument 49 this(contentType, soapAction, null); in ContentTypeImpl() 53 this(contentType, soapAction, accept, null); in ContentTypeImpl() 57 this.contentType = contentType; in ContentTypeImpl() 63 internalContentType = new ContentType(contentType); in ContentTypeImpl() 97 return contentType; in getContentType() 147 public String contentType; field in ContentTypeImpl.Builder [all …]
|
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.test/src/test/java/org/springframework/mock/web/ |
H A D | MockHttpServletResponseTests.java | 36 String contentType = "test/plain"; in testSetContentType() local 38 response.setContentType(contentType); in testSetContentType() 39 assertEquals(contentType, response.getContentType()); in testSetContentType() 45 String contentType = "test/plain;charset=UTF-8"; in testSetContentTypeUTF8() local 47 response.setContentType(contentType); in testSetContentTypeUTF8() 54 String contentType = "test/plain"; in testContentTypeHeader() local 56 response.addHeader("Content-Type", contentType); in testContentTypeHeader() 62 response.setHeader("Content-Type", contentType); in testContentTypeHeader() 69 String contentType = "test/plain;charset=UTF-8"; in testContentTypeHeaderUTF8() local 71 response.setHeader("Content-Type", contentType); in testContentTypeHeaderUTF8() [all …]
|
/dports/deskutils/myitcrm/MyITCRM-0.2.9.3/include/swift/lib/classes/Swift/ |
H A D | Attachment.php | 29 * @param string $contentType 32 $contentType = null) argument 42 if ($contentType) 44 $this->setContentType($contentType); 52 * @param string $contentType 56 $contentType = null) argument 58 return new self($data, $filename, $contentType); 64 * @param string $contentType optional 67 public static function fromPath($path, $contentType = null) argument 71 $contentType
|
/dports/www/bolt/bolt-2.2.24/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ |
H A D | Attachment.php | 25 * @param string $contentType 27 public function __construct($data = null, $filename = null, $contentType = null) argument 37 if ($contentType) { 38 $this->setContentType($contentType); 47 * @param string $contentType 51 public static function newInstance($data = null, $filename = null, $contentType = null) argument 53 return new self($data, $filename, $contentType); 60 * @param string $contentType optional 64 public static function fromPath($path, $contentType = null) argument 68 $contentType
|
/dports/devel/flyspray/flyspray-0.9.9.7_4/includes/external/swift-mailer/classes/Swift/ |
H A D | Attachment.php | 26 * @param string $contentType 29 $contentType = null) argument 39 if ($contentType) 41 $this->setContentType($contentType); 49 * @param string $contentType 53 $contentType = null) argument 55 return new self($data, $filename, $contentType); 61 * @param string $contentType optional 64 public static function fromPath($path, $contentType = null) argument 68 $contentType
|
/dports/net-mgmt/pandorafms_console/pandorafms_console-6.0SP2/include/swiftmailer/classes/Swift/ |
H A D | Attachment.php | 29 * @param string $contentType 32 $contentType = null) argument 42 if ($contentType) 44 $this->setContentType($contentType); 52 * @param string $contentType 56 $contentType = null) argument 58 return new self($data, $filename, $contentType); 64 * @param string $contentType optional 67 public static function fromPath($path, $contentType = null) argument 71 $contentType
|