Skip to content

Commit

Permalink
[curl] Normalize mime type information
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=117194

Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2013-06-05
Reviewed by Brent Fulgham.

* platform/MIMETypeRegistry.cpp: Enable MIME type normalization for curl.

Canonical link: https://commits.webkit.org/135529@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
elecro authored and webkit-commit-queue committed Jun 6, 2013
1 parent 6aa00ab commit e1ebb7d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions Source/WebCore/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2013-06-05 Peter Gal <galpeter@inf.u-szeged.hu>

[curl] Normalize mime type information
https://bugs.webkit.org/show_bug.cgi?id=117194

Reviewed by Brent Fulgham.

* platform/MIMETypeRegistry.cpp: Enable MIME type normalization for curl.

2013-06-05 Xueqing Huang <huangxueqing@baidu.com>

Move OleGetClipboard to Pasteboard::createForCopyAndPaste.
Expand Down
4 changes: 2 additions & 2 deletions Source/WebCore/platform/MIMETypeRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -692,14 +692,14 @@ const String& defaultMIMEType()
return defaultMIMEType;
}

#if !PLATFORM(QT) && !PLATFORM(BLACKBERRY)
#if !PLATFORM(QT) && !PLATFORM(BLACKBERRY) && !USE(CURL)
String MIMETypeRegistry::getNormalizedMIMEType(const String& mimeType)
{
return mimeType;
}
#endif

#if PLATFORM(BLACKBERRY)
#if PLATFORM(BLACKBERRY) || USE(CURL)
typedef HashMap<String, String> MIMETypeAssociationMap;

static const MIMETypeAssociationMap& mimeTypeAssociationMap()
Expand Down

0 comments on commit e1ebb7d

Please sign in to comment.