Skip to content

Commit

Permalink
Should fix #478, have no clue about http headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
qqshka committed Oct 26, 2012
1 parent 1e689bd commit ef46331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httpsv_generate.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ void HTTPSV_GenerateQTVStub(cluster_t *cluster, oproxy_t *dest, char *streamtype
return;
}

HTTPSV_SendHTTPHeader(cluster, dest, "200", "text/x-quaketvident", false);
HTTPSV_SendHTTPHeader(cluster, dest, "200", "application/octet-stream", false);

snprintf(buffer, sizeof(buffer), "[QTV]\r\n"
"Stream: %s%s@%s\r\n"
Expand Down Expand Up @@ -446,7 +446,7 @@ void HTTPSV_GenerateQTVJoinStub(cluster_t *cluster, oproxy_t *dest, char *stream
if (!streamfound)
return;

HTTPSV_SendHTTPHeader(cluster, dest, "200", "text/x-quaketvident", false);
HTTPSV_SendHTTPHeader(cluster, dest, "200", "application/octet-stream", false);

snprintf(buffer, sizeof(buffer), "[QTV]\r\n"
"Join: %s\r\n"
Expand Down

0 comments on commit ef46331

Please sign in to comment.