Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Issue 115058: Fix testserver to return a correct MIME-type header.... (Closed)

Created:
11 years, 7 months ago by eroman
Modified:
9 years, 6 months ago
Reviewers:
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix testserver to return a correct MIME-type header. Originally, testserver was sending "Content-type: text/html" header regardless of a file extension, due to a bug in TestPageHandler.GetMIMETypeFromName. Patch by Yuta Kitamura <yutak@google.com>;. Original code review: <http://codereview.chromium.org/100357>; Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=15510

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M net/tools/testserver/testserver.py View 1 chunk +2 lines, -1 line 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698