Changeset 944


Ignore:
Timestamp:
Sep 28, 2006, 2:33:02 AM (15 years ago)
Author:
joshe
Message:

How about we actually put an <?xml?> tag in the xml we send?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/upnp.c

    r943 r944  
    12231223    if( NULL != http )
    12241224    {
    1225         tr_httpAddHeader( http, "Content-type", "text/xml" );
     1225        tr_httpAddHeader( http, "Content-type",
     1226                          "text/xml; encoding=\"utf-8\"" );
    12261227        tr_httpAddHeader( http, "SOAPAction", action->action );
    12271228        if( retry )
     
    12301231        }
    12311232        tr_httpAddBody( http,
     1233"<?xml version=\"1.0\" encoding=\"utf-8\" ?>"
    12321234"<s:Envelope"
    12331235"    xmlns:s=\"" SOAP_ENVELOPE "\""
Note: See TracChangeset for help on using the changeset viewer.