Changeset dff732d
- Timestamp:
- 2011-11-12T15:49:52Z (13 years ago)
- Branches:
- master
- Children:
- 03a8f8e
- Parents:
- dac74bd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/http_client.c
rdac74bd rdff732d 314 314 } 315 315 316 if( ( req->status_code == 301 || req->status_code == 302) && req->redir_ttl-- > 0 )316 if( ( req->status_code >= 301 && req->status_code <= 303 ) && req->redir_ttl-- > 0 ) 317 317 { 318 318 char *loc, *new_request, *new_host; … … 375 375 going to use strcat(), whether you like it or not. :-) */ 376 376 377 sprintf( new_request, "GET %s HTTP/1.0", url->file ); 378 379 s = strstr( req->request, "\r\n" ); 380 if( s == NULL ) 377 *s = 0; 378 sprintf( new_request, "%s %s HTTP/1.0\r\nHost: %s", 379 req->status_code == 303 || req->request[0] == 'G' ? "GET" : "POST", url->file, url->host ); 380 *s = ' '; 381 382 if( !( ( s = strstr( req->request, "\r\nHost: " ) ) && 383 ( s = strstr( s + strlen( "\r\nHost: " ), "\r\n" ) ) ) ) 381 384 { 382 385 req->status_string = g_strdup( "Error while rebuilding request string" ); -
protocols/msn/soap.h
rdac74bd rdff732d 116 116 "<wsp:AppliesTo>" \ 117 117 "<wsa:EndpointReference>" \ 118 "<wsa:Address> local-bay.contacts.msn.com</wsa:Address>" \118 "<wsa:Address>contacts.msn.com</wsa:Address>" \ 119 119 "</wsa:EndpointReference>" \ 120 120 "</wsp:AppliesTo>" \ … … 199 199 "</soap:Envelope>" 200 200 201 #define SOAP_MEMLIST_URL "http:// local-bay.contacts.msn.com/abservice/SharingService.asmx"201 #define SOAP_MEMLIST_URL "http://contacts.msn.com/abservice/SharingService.asmx" 202 202 #define SOAP_MEMLIST_ACTION "http://www.msn.com/webservices/AddressBook/FindMembership" 203 203 … … 234 234 235 235 236 #define SOAP_ADDRESSBOOK_URL "http:// local-bay.contacts.msn.com/abservice/abservice.asmx"236 #define SOAP_ADDRESSBOOK_URL "http://contacts.msn.com/abservice/abservice.asmx" 237 237 #define SOAP_ADDRESSBOOK_ACTION "http://www.msn.com/webservices/AddressBook/ABFindAll" 238 238
Note: See TracChangeset
for help on using the changeset viewer.