data:data:
Implementation of the data: URI scheme
Home > Books > NetKernel API and Services Reference > Accessor Listing > Layer1 > data:

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:ext:layer1

Definition

Format

    data:text/plain,This%20is%20a%20data%20URI
	
   data:image/gif;base64,R0lGODdhMAAwAPAAAAAAAP///ywAAAAAMAAw
   AAAC8IyPqcvt3wCcDkiLc7C0qwyGHhSWpjQu5yqmCYsapyuvUUlvONmOZtfzgFz
   ByTB10QgxOR0TqBQejhRNzOfkVJ+5YiUqrXF5Y5lKh/DeuNcP5yLWGsEbtLiOSp
   a/TPg7JpJHxyendzWTBfX0cxOnKPjgBzi4diinWGdkF8kjdfnycQZXZeYGejmJl
   ZeGl9i2icVqaNVailT6F5iJ90m6mvuTS4OK05M0vDk0Q4XUtwvKOzrcd3iq9uis
   F81M1OIcR7lEewwcLp7tuNNkM3uNna3F2JQFo97Vriy/Xl4/f1cf5VWzXyym7PH
   hhx4dbgYKAAA7
   

The data: URI scheme is an implementation of the IETF RFC 2397. Data URIs were conceived as a mechanism to store content inline with a URL to be rendered by a browser. However, in NetKernel data: URIs can be a valuable server-side means of placing literal data in an active URI.

Data URIs can be dynamically generated to allow a resource to placed in an active URI rather than be passed by value - this allows the results of the active URI to be cached.

© 2003-2007, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.