Re: problem with SoupContexts
Joe Shaw <[email protected]> 31 Aug 2002 15:08:45 -0400
| Newsgroups | gmane.comp.gnome.ximian.soup |
|---|---|
| Message-ID | <1030820925.15728.15.camel@caedes> |
On Sat, 2002-08-31 at 14:46, Diego González wrote: > the first message reaches the server without any problems, everything is > ok, but when i try to send sencond message with a different URL (the > only thing that changes in the URL is the username for the > authentication), the message that get to the server has the same > username as the first message, eventought the url passed to > soup_context_get is different. Here are the two urls that i'm passing to > soup_context_get: > > https://user-p1:p1@localhost:63000/ > https://user-p2:p1@localhost:63000/ > > i have ran out of ideas i have tried almost everything. Soup caches authentication information so it can be sent without having to make an extra round trip. It looks like it only does it on a per-path basis, though, and doesn't take into account the username and password. I presume you're using Basic authentication? It's probably just as simple as changing soup_auth_lookup(), soup_auth_invalidate(), and soup_auth_set_context() to do path + username + password instead of just path. Joe _______________________________________________ Soup-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/soup-list