Home
last modified time | relevance | path

Searched refs:contentType (Results 1 – 25 of 79) sorted by relevance

1234

/expo/packages/expo-updates/ios/Tests/
H A DFileDownloaderManifestParsingSpec.swift25 let contentType = "application/json" in spec() variable
335 let contentType = "application/json" in spec() variable
343 "content-type": contentType, in spec()
380 "content-type": contentType in spec()
418 let contentType = "application/json" in spec() variable
426 "content-type": contentType, in spec()
464 "content-type": contentType in spec()
513 "content-type": contentType in spec()
558 "content-type": contentType in spec()
591 let contentType = "application/json" in spec() variable
[all …]
/expo/packages/expo-dev-launcher/android/src/main/java/expo/modules/devlauncher/launcher/manifest/
H A DDevLauncherManifestParser.kt19 val contentType = response.header("Content-Type") in isManifestUrl() constant
23 …(contentType != null && !contentType.startsWith("text/html") && !contentType.contains("/javascript… in isManifestUrl()
/expo/packages/@expo/server/src/vendor/
H A Dnetlify.ts19 const contentType = res.headers.get('Content-Type'); constant
21 const isBase64Encoded = isBinaryType(contentType);
179 export function isBinaryType(contentType: string | null | undefined) {
180 if (!contentType) return false;
181 const [test] = contentType.split(';');
/expo/packages/@expo/server/build/vendor/
H A Dnetlify.js17 const contentType = res.headers.get('Content-Type');
19 const isBase64Encoded = isBinaryType(contentType);
164 function isBinaryType(contentType) { argument
165 if (!contentType)
167 const [test] = contentType.split(';');
H A Dnetlify.d.ts10 export declare function isBinaryType(contentType: string | null | undefined): boolean;
/expo/packages/expo-clipboard/build/web/
H A DUtils.js5 export function base64toBlob(base64Data, contentType) { argument
6 contentType = contentType || '';
25 return new Blob(byteArrays, { type: contentType });
H A DUtils.d.ts5 export declare function base64toBlob(base64Data: string, contentType: string): Blob;
/expo/packages/expo-clipboard/src/web/
H A DUtils.ts5 export function base64toBlob(base64Data: string, contentType: string): Blob {
6 contentType = contentType || '';
27 return new Blob(byteArrays, { type: contentType });
/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/loader/
H A DFileDownloaderManifestParsingTest.kt27 val contentType = "application/json" in testManifestParsing_JSONBody() constant
460 val contentType = "application/json" in testManifestParsing_JSONBodySigned() constant
464 "content-type" to contentType, in testManifestParsing_JSONBodySigned()
519 "content-type" to contentType, in testManifestParsing_MultipartBodySigned()
601 val contentType = "application/json" in testManifestParsing_JSONBodySigned_UnsignedRequest() constant
605 "content-type" to contentType, in testManifestParsing_JSONBodySigned_UnsignedRequest()
658 "content-type" to contentType, in testManifestParsing_MultipartBodySignedCertificateParticularExperience()
756 "content-type" to contentType, in testManifestParsing_MultipartBodySignedCertificateParticularExperience_IncorrectExperienceInManifest()
841 "content-type" to contentType, in testManifestParsing_MultipartBodySignedCertificateParticularExperience_IncorrectExperienceInDirective()
915 val contentType = "application/json" in testManifestParsing_JSONBodySigned_UnsignedRequest_ManifestSignatureOptional() constant
[all …]
/expo/tools/src/dynamic-macros/
H A Dmacros.ts46 const contentType = response.headers.get('content-type'); constant
47 if (!contentType) {
51 if (contentType === 'application/expo+json' || contentType === 'application/json') {
58 contentType,
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/React/Base/
H A DABI49_0_0RCTMultipartDataTask.m58 NSString *contentType = @"";
61 contentType = [_headers valueForKey:key];
70 NSTextCheckingResult *match = [regex firstMatchInString:contentType
72 range:NSMakeRange(0, contentType.length)];
74 _boundary = [contentType substringWithRange:[match rangeAtIndex:1]];
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/React/Base/
H A DABI48_0_0RCTMultipartDataTask.m58 NSString *contentType = @"";
61 contentType = [_headers valueForKey:key];
70 NSTextCheckingResult *match = [regex firstMatchInString:contentType
72 range:NSMakeRange(0, contentType.length)];
74 _boundary = [contentType substringWithRange:[match rangeAtIndex:1]];
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/React/Base/
H A DABI47_0_0RCTMultipartDataTask.m58 NSString *contentType = @"";
61 contentType = [_headers valueForKey:key];
70 NSTextCheckingResult *match = [regex firstMatchInString:contentType
72 range:NSMakeRange(0, contentType.length)];
74 _boundary = [contentType substringWithRange:[match rangeAtIndex:1]];
/expo/packages/expo-file-system/android/src/main/java/expo/modules/filesystem/
H A DCountingRequestBody.kt40 override fun contentType() = requestBody.contentType() in contentType() method in CountingRequestBody
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/filesystem/
H A DCountingRequestBody.kt40 override fun contentType() = requestBody.contentType() in contentType() method in CountingRequestBody
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/filesystem/
H A DCountingRequestBody.kt40 override fun contentType() = requestBody.contentType() in contentType() method in CountingRequestBody
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/filesystem/
H A DCountingRequestBody.kt40 override fun contentType() = requestBody.contentType() in contentType() method in CountingRequestBody
/expo/packages/expo-auth-session/build/
H A DFetch.js44 const contentType = response.headers.get('content-type');
45 if (isJsonDataType || contentType?.includes('application/json')) {
/expo/packages/expo-auth-session/src/
H A DFetch.ts67 const contentType = response.headers.get('content-type'); constant
68 if (isJsonDataType || contentType?.includes('application/json')) {
/expo/packages/@expo/cli/src/start/server/middleware/__tests__/
H A DExpoGoManifestHandlerMiddleware-test.ts260 contentType: 'application/javascript',
322 contentType: 'application/javascript',
363 contentType: 'application/javascript',
424 contentType: 'application/javascript',
479 contentType: 'application/javascript',
516 contentType: 'application/javascript',
560 contentType: 'application/javascript',
/expo/packages/expo-modules-core/ios/Swift/DevTools/
H A DExpoRequestInterceptorProtocol.swift100 let contentType = response.value(forHTTPHeaderField: "Content-Type") in urlSession() variable
101 … let isText = (contentType?.starts(with: "text/") ?? false) || contentType == "application/json" in urlSession()
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Swift/DevTools/
H A DExpoRequestInterceptorProtocol.swift100 let contentType = response.value(forHTTPHeaderField: "Content-Type") in urlSession() variable
101 … let isText = (contentType?.starts(with: "text/") ?? false) || contentType == "application/json" in urlSession()
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/devtools/cdp/
H A DCdpNetworkTypes.kt234 val contentType = rawBody.contentType() constant
235 …val isText = contentType?.type == "text" || (contentType?.type == "application" && contentType.sub…
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/devtools/cdp/
H A DCdpNetworkTypes.kt234 val contentType = rawBody.contentType() constant
235 …val isText = contentType?.type == "text" || (contentType?.type == "application" && contentType.sub…
/expo/packages/expo-dev-launcher/ios/Manifest/
H A DEXDevLauncherManifestParser.m58 NSString *contentType = headers[@"Content-Type"];
59 …if (contentType && ![contentType hasPrefix:@"text/html"] && ![contentType containsString:@"/javasc…

1234