mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 09:19:05 +02:00
http: Send listing back as text/plain.
Since it isn't text/html.
This commit is contained in:
1 parent
ee29c6c50f
commit
0c0525ed87
1 file changed
+1
-1
@@ -230,7 +230,7 @@ void Server::Handle404(const Request &request) {
|
||||
}
|
||||
|
||||
void Server::HandleListing(const Request &request) {
|
||||
request.WriteHttpResponseHeader(200, -1);
|
||||
request.WriteHttpResponseHeader(200, -1, "text/plain");
|
||||
for (auto iter = handlers_.begin(); iter != handlers_.end(); ++iter) {
|
||||
request.Out()->Printf("%s\n", iter->first.c_str());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user