Questions tagged [data-uri-scheme]

The URI scheme for data URIs, defined in RFC 2397 as data:[<mediatype>][;base64],<data>

The URI scheme for data URIs, defined in RFC 2397 as :

data:[<mediatype>][;base64],<data>

According to RFC 2397:

The <mediatype> is an Internet media type specification (with optional parameters.) The appearance of ;base64 means that the data is encoded as base64. Without ;base64, the data (as a sequence of octets) is represented using ASCII encoding for octets inside the range of safe URL characters and using the standard %xx hex encoding of URLs for octets outside that range. If <mediatype> is omitted, it defaults to text/plain;charset=US-ASCII. As a shorthand, text/plain can be omitted but the charset parameter supplied.

For questions about data URIs that are not specifically about the data URI scheme, use the tag .

22 questions
0
votes
0 answers

Java - Open data URI with browser

I'm generating an HTML file than I want to open with a browser. The thing is I am generating the the markup in memory and am converting it to a data URI. Copy pasting the data URI into the browser's address bar works correctly but when trying to…
user3690467
  • 3,049
  • 6
  • 27
  • 54
0
votes
1 answer

C# - Request to data URI scheme

I am using the Google Charts API in my .NET application and I would like to programmatically save the chart rendered as an image by passing the chat URI in an AJAX request to the server. The problem is that the URI of the chart is a data URI scheme…
Lionel Renaux
  • 152
  • 1
  • 14
0
votes
1 answer

Swift shardApplication().openURL() with data URI

So I have a String with the template of let dataURI = 'data:MIMEType;base64,DATA' where the data is filled with a bunch of base64 representing the file I want to open. This url will load in a WKWebView or UIWebView; however, when I try to take the…
Ajwhiteway
  • 986
  • 1
  • 9
  • 23
0
votes
0 answers

Launching Android/iOS apps from browser

I have read a lot of similar questions but none seem to answer directly my issue. I am working on a project and want to implement a way to launch 3rd party apps from within a web app. I have found SOME URISchemes and got these launching fine on iOS…
0
votes
1 answer

base64 encoded html works in browser but not from shortcut on Android

For IOS this is absolutely no problem but for Android I get "Application Not Installed" The following simple html code:

hello < p> encodes to a…

Kerry Davis
  • 171
  • 1
  • 4
  • 12
0
votes
0 answers

Launch IE from metro app and send post data to the website

I want to launch a website in IE from my metro app. While launching the website post data also need to be send. I tried using Windows.System.Launcher.LaunchUriAsync(uri); I am facing two issues here. one, i am not able to send post data to the…
TutuGeorge
  • 1,972
  • 2
  • 22
  • 42
0
votes
0 answers

Image data into URI breaks in Samsung S3 Android web browser

We are using webview based app. Calling html pages with base64 image (image data into URI). Lunch our app then, we got the images with base64 url (image data into URI). But when we kill the app and re-launch. Then images are not displaying only on…
1
2