Skip to content

Instantly share code, notes, and snippets.

@hamnis
Created November 4, 2010 09:17
Show Gist options
  • Save hamnis/662270 to your computer and use it in GitHub Desktop.
Save hamnis/662270 to your computer and use it in GitHub Desktop.
mime = {
MIMEType: function MIMEType(major, minor, attributes) {
this.major = major || "*";
this.minor = minor || "*";
this.attributes = attributes || [];
},
Parameter : function(name, value) {
this.name = name;
this.value = value || "";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment