Skip to content

Commit

Permalink
Fix memory.html page content-type
Browse files Browse the repository at this point in the history
Summary: Closes #6737

Reviewed By: paulbiss

Differential Revision: D2823993

fb-gh-sync-id: 70c164e4a307d17adb665bc2235fd9c0cb42c509
  • Loading branch information
c9s authored and hhvm-bot committed Jan 13, 2016
1 parent 5f9006d commit f5c3570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hphp/runtime/server/admin-request-handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ bool AdminRequestHandler::handleMemoryRequest(const std::string &cmd,
}
if (cmd == "memory.html" || cmd == "memory.htm") {
MemoryStats::GetInstance()->ReportMemory(out, Writer::Format::HTML);
transport->replaceHeader("Content-Type","application/html");
transport->replaceHeader("Content-Type","text/html");
transport->sendString(out);
return true;
}
Expand Down

0 comments on commit f5c3570

Please sign in to comment.