Commit d947fa60 authored by Benjamin Pracht's avatar Benjamin Pracht

adds a linebreak after sending the Basic authentification token. This makes...

adds a linebreak after sending the Basic authentification token. This makes web servers (including VLC) a lot happier ;-)

parent 9dd393c7
......@@ -2,7 +2,7 @@
* http.c: HTTP input module
*****************************************************************************
* Copyright (C) 2001-2004 VideoLAN
* $Id: http.c,v 1.59 2004/02/24 16:31:46 fenrir Exp $
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Christophe Massiot <massiot@via.ecp.fr>
......@@ -572,7 +572,7 @@ static int Connect( input_thread_t *p_input, vlc_bool_t *pb_seekable,
b64 = b64_encode( buf );
net_Printf( VLC_OBJECT(p_input), p_sys->fd,
"Authorization: Basic %s", b64 );
"Authorization: Basic %s\r\n", b64 );
free( b64 );
}
net_Printf( VLC_OBJECT(p_input), p_sys->fd, "Connection: Close\r\n" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment