| /expo/packages/expo-updates/ios/Tests/ |
| H A D | FileDownloaderManifestParsingSpec.swift | 25 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 D | DevLauncherManifestParser.kt | 19 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 D | netlify.ts | 19 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 D | netlify.js | 17 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 D | netlify.d.ts | 10 export declare function isBinaryType(contentType: string | null | undefined): boolean;
|
| /expo/packages/expo-clipboard/build/web/ |
| H A D | Utils.js | 5 export function base64toBlob(base64Data, contentType) { argument 6 contentType = contentType || ''; 25 return new Blob(byteArrays, { type: contentType });
|
| H A D | Utils.d.ts | 5 export declare function base64toBlob(base64Data: string, contentType: string): Blob;
|
| /expo/packages/expo-clipboard/src/web/ |
| H A D | Utils.ts | 5 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 D | FileDownloaderManifestParsingTest.kt | 27 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 D | macros.ts | 46 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 D | ABI49_0_0RCTMultipartDataTask.m | 58 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 D | ABI48_0_0RCTMultipartDataTask.m | 58 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 D | ABI47_0_0RCTMultipartDataTask.m | 58 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 D | CountingRequestBody.kt | 40 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 D | CountingRequestBody.kt | 40 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 D | CountingRequestBody.kt | 40 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 D | CountingRequestBody.kt | 40 override fun contentType() = requestBody.contentType() in contentType() method in CountingRequestBody
|
| /expo/packages/expo-auth-session/build/ |
| H A D | Fetch.js | 44 const contentType = response.headers.get('content-type'); 45 if (isJsonDataType || contentType?.includes('application/json')) {
|
| /expo/packages/expo-auth-session/src/ |
| H A D | Fetch.ts | 67 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 D | ExpoGoManifestHandlerMiddleware-test.ts | 260 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 D | ExpoRequestInterceptorProtocol.swift | 100 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 D | ExpoRequestInterceptorProtocol.swift | 100 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 D | CdpNetworkTypes.kt | 234 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 D | CdpNetworkTypes.kt | 234 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 D | EXDevLauncherManifestParser.m | 58 NSString *contentType = headers[@"Content-Type"]; 59 …if (contentType && ![contentType hasPrefix:@"text/html"] && ![contentType containsString:@"/javasc…
|