MIME and the Web. draft-masinter-mime-web-info-01.txt I-D by Larry Masinter Presented by Alexey Melnikov

Similar documents
MIME SNIFFING ISSUES. Larry Masinter IETF 82 Taipei November 16, 2011

Obsoletes: 2070, 1980, 1942, 1867, 1866 Category: Informational June 2000

Internet Engineering Task Force (IETF) Category: Standards Track ISSN: July 2012

This is a list of questions and answers about Unicode in Perl, intended to be read after perlunitut.

Best Current Practice; mandatory IETF RFCs not on standards track, see below.

Media Types. Web Architecture and Information Management [./] Spring 2009 INFO (CCN 42509) Contents. Erik Wilde, UC Berkeley School of

RDAP: A Primer on the Registration Data Access Protocol

CNIT 129S: Securing Web Applications. Ch 12: Attacking Users: Cross-Site Scripting (XSS) Part 2

Computer Networks. Wenzhong Li. Nanjing University

A short introduction to Web Services

Internet Standards for the Web: Part II

World-Wide Web Protocols CS 571 Fall Kenneth L. Calvert All rights reserved

Internet Engineering Task Force (IETF) Request for Comments: 6266 Updates: 2616 June 2011 Category: Standards Track ISSN:

*:96 Overheads. Part 2c: URL, Media types

Internet Engineering Task Force (IETF) Request for Comments: 5987 Category: Standards Track August 2010 ISSN:

BEGINNER PHP Table of Contents

How to Enable Images to display in various client programs

Part III: Survey of Internet technologies

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

CS 355. Computer Networking. Wei Lu, Ph.D., P.Eng.

Maxware, Pirsenteret D. Zigmond WebTV Networks, Inc. R. Petke UUNET Technologies November 1999

Category: Informational October Common Format and MIME Type for Comma-Separated Values (CSV) Files

Network Working Group. Category: Informational July 1995

Lecture 25. Tuesday, November 21 CS 475 Networks - Lecture 25 1

HARNESSING THE POWER OF ONLINE CONTENT IN OLM

[MS-PICSL]: Internet Explorer PICS Label Distribution and Syntax Standards Support Document

Casting in C++ (intermediate level)

Developing Online Databases and Serving Biological Research Data

Global Servers. The new masters

Articles FAQs Page 3

Internet Engineering Task Force (IETF) Request for Comments: 6694 August 2012 Category: Informational ISSN:

WEB TECHNOLOGIES CHAPTER 1

Ways for a Machine-actionable Processing Chain for Identifier, Metadata, and Data

April 24, 1998 Expires in six months. SMTP Service Extension for Secure SMTP over TLS. Status of this memo

Developing Online Databases and Serving Biological Research Data

CS144: Content Encoding

HTML 5: Fact and Fiction Nathaniel T. Schutta

Internet Protocols. Robin Sharp

6to4 reverse domain delegation ip6.arpa

Lecture 3. HTTP v1.0 application layer protocol. into details. HTTP 1.0: RFC 1945, T. Berners-Lee HTTP 1.1: RFC 2068, 2616

Session 8. Reading and Reference. en.wikipedia.org/wiki/list_of_http_headers. en.wikipedia.org/wiki/http_status_codes

HTTP Reading: Section and COS 461: Computer Networks Spring 2013

Network Working Group Request for Comments: 5464 Category: Standards Track February 2009

REST A brief introduction

Draft SDMX Technical Standards (Version 2.0) - Disposition Log Project Team

Network Working Group. M. Crispin Panda Programming E. van der Poel June Japanese Character Encoding for Internet Messages. Status of this Memo

[Frequently Asked Questions] Accommodation Booking Website

1. Understand what persistent identifiers are, how they work and the benefits to using them in a DSpace repository environment

Internet Engineering Task Force (IETF) Request for Comments: 6858 March 2013 Updates: 3501 Category: Standards Track ISSN:

Telemetry Data Sharing Using S/MIME

Internet Engineering Task Force (IETF) Obsoletes: 2831 July 2011 Category: Informational ISSN:

Network Working Group. Obsoletes: 1342 September 1993 Category: Standards Track

The OAuth 2.0 Authorization Framework draft-ietf-oauth-v2-30

Network Working Group. Category: Informational ETL December ISO-2022-JP-2: Multilingual Extension of ISO-2022-JP

Features of a proxy server: - Nowadays, by using TCP/IP within local area networks, the relaying role that the proxy

Session 9. Deployment Descriptor Http. Reading and Reference. en.wikipedia.org/wiki/http. en.wikipedia.org/wiki/list_of_http_headers

DESCRIPTION OF TYPICAL NETWORK SERVICES ON SERVERS

Ad Muncher's New Interface Layout

Wireshark HTTP. Introduction. The Basic HTTP GET/response interaction

The Application Layer HTTP and FTP

The file name of this version is draft-alvestrand-charset-policy-00.txt

Lanyon Conference TM Administrator Quick Start Guide

Network Working Group Internet-Draft October 27, 2007 Intended status: Experimental Expires: April 29, 2008

Digital Imaging and Communications in Medicine (DICOM) Supplement 174: RESTful Rendering

Internet Engineering Task Force (IETF) Request for Comments: 6522 STD: 73 January 2012 Obsoletes: 3462 Category: Standards Track ISSN:

Website/Blog Admin Using WordPress

Versioning, Extensibility & Postel s Law

Web Mechanisms. Draft: 2/23/13 6:54 PM 2013 Christopher Vickery

Text Record Type Definition. Technical Specification NFC Forum TM RTD-Text 1.0 NFCForum-TS-RTD_Text_

20.5. urllib Open arbitrary resources by URL

Computer Networks - A Simple HTTP proxy -

Clearing Your Browser Cache in: Internet Explorer 7 or 8

<draft-freed-charset-reg-02.txt> IANA Charset Registration Procedures. July Status of this Memo

ReST 2000 Roy Fielding W3C

Site Administrator Help

Outline. Goals of work Work since Atlanta Extensions Updates Made Open Issues Ad-hoc meeting & Next Teleconference Links

COSC 2206 Internet Tools. The HTTP Protocol

Produced by. Mobile Application Development. Higher Diploma in Science in Computer Science. Eamonn de Leastar

Choic Small Business Web Administration Guide DigiPortal Software, Inc.

EMCO MSI Package Builder Professional 7. Copyright EMCO. All rights reserved.

EEC-682/782 Computer Networks I

6to4 reverse domain delegation in ip6.arpa

Azon Master Class. By Ryan Stevenson Guidebook #5 WordPress Usage

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

The HTTP protocol. Fulvio Corno, Dario Bonino. 08/10/09 http 1

TUTORIAL MADCAP FLARE Top Navigation

Expires six months from November draft-ietf-urn-resolution-services-04.txt. URI Resolution Services Necessary for URN Resolution

CS142 Winter 2017 Midterm Grading Solutions and Rubric

CSP 1.3: An HTTP-Based Protocol for Parameterized, Aggregated Content

Motivation For Networking. Information access Interaction among cooperative application programs Resource sharing

When does it work? Packet Sniffers. INFO Lecture 8. Content 24/03/2009

CSP 1.4: An HTTP-Based Protocol for Parameterized, Aggregated Content

In this tutorial we are going to take a look at the CentovaCast 3 control panel running ShoutCast 2 and explain some of the basic features.

Internet Engineering Task Force. Intended Status: Informational. Additional Reserved Top Level Domains draft-chapin-additional-reserved-tlds-00

Close Your File Template

The SAP Internet Programming Model, Part 1

FIPA Agent Message Transport Protocol for HTTP Specification

EIDR: ID FORMAT. Ver January 2012

J. Zawinski Netscape Communications July 1998

Information Retrieval Spring Web retrieval

Transcription:

MIME and the Web draft-masinter-mime-web-info-01.txt I-D by Larry Masinter Presented by Alexey Melnikov

History Multipurpose Internet Mail Extensions (MIME) RFC 2045, RFC 2046, MIME was originally invented for email to extend Internet email messaging from ASCII-only plain text, to include other character sets, images, rich documents, etc.) Was later adopted for use in HTTP 1.0

Problems with application of Internet Media Types to the Web Lack of clarity about the purpose of MIME in the Web IANA registry of MIME types is out of date: Lots of file types aren't registered Those that are, the registration is incomplete or incorrect (people doing registration didn't understand 'magic number' or other fields). The actual content deployed or created by deployed software doesn't match the registration

MIME rules weren t quite followed on the Web HTTP server implementors and administrators didn't supply ways of easily associating the 'intended' file type label with the file, resulting in files frequently being delivered with an incorrect label Some popular servers had default configuration files that treated any unknown type as "text/plain" (plain ext in ASCII). Browser implementors are liberal in what they accepted, and use what looked like a file extension in the URL and/ or magic number or other 'sniffing' techniques to decide file type, without assuming content-type label was authoritative.

Consequences servers sending responses to browsers don't have a good guarantee that the browser won't "sniff" the content and decide to do something other than treat it as it is labeled browsers receiving content don't have a good guarantee that the content isn't mis-labeled intermediaries (gateways, proxies, caches, and other pieces of the Web infrastructure) don't have a good way of telling what the conversation means.

Other issues (1 of 3) Differences between Web and Email requirement for use of CRLF as line delimiter in plain text: in practice, web clients didn't restrict content to use CRLF in text/* MIME bodies. Issues with charsets default charset: HTTP specified ISO-8859-1 as the default character set for text/* body parts, not US-ASCII Mislabeled charsets: misuse of iso-2022-jp or euc-jp to signal support for Microsoft extensions Browsers are guessing charsets

Other issues (2 of 3) Evolution, Versioning, Forking of Internet Media Types: Internet Media Types do not identify a particular version of a file format, but a family of file formats File formats need to include versioning information Only backward incompatible changes require a new Internet Media Type registration Backward incompatible changes are not always noticed by Media type reviewers, as previous registrations are incomplete/incorrect Liberal processors are sometimes ignoring internal version information

Other issues (3 of 3) Fragment identifiers The Web added the notion of being able to address part of a content and not the whole content by adding a 'fragment identifier' to the URL that addressed the data. Originally used for HTML, but how would it apply to other content. Internet Media Type registration template should include this information, but frequently doesn t

Preliminary recommendations (1 of 2) Add fragment identifiers to the Internet Media Type registration template Recommend that applications that use this type field describes if a particular media type should be for embedding (plug-in) a separate document with auto-launch (MIME handler) or always be downloaded Be clear in Security Considerations about scriptable content Signify which file extensions are useful for sniffing A web related draft needs to clarify that magic numbers and file extensions from the IANA registry can be used for sniffing

Preliminary recommendations (2 of 2) Update the Internet Media Type registry (fix/correct/add information) Relax IANA processes for MIME registries Internet Media Type registries are hard to update, and there can be different definitions of the same MIME type.