mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
http: Send listing back as text/plain.
Since it isn't text/html.
This commit is contained in:
parent
ee29c6c50f
commit
0c0525ed87
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ void Server::Handle404(const Request &request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Server::HandleListing(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) {
|
for (auto iter = handlers_.begin(); iter != handlers_.end(); ++iter) {
|
||||||
request.Out()->Printf("%s\n", iter->first.c_str());
|
request.Out()->Printf("%s\n", iter->first.c_str());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue