> > If I understand your problem, what is happening is this: You submit a > Post request, the server responds with 302, the HttpCli automatically > submits a Get request to the new location, but the server rejected it, > ignored it, or processed it incorrectly because it was expecting a Post > request: With a Post request, the server will receive the data in the > request body; while with a Get request it will receive it in the > "query-string", which is in the request header. > > I haven't used HttpCli in years, so I don't know how the "follow" > mechanism works, but if it only performs Get requests, then you must > not set "follow", and perform the redirection using a new PostAsync > request to the new location. > > dZ. >
Dz thanks voor de reply. The followRelocation setting will make sure that a 302 is automatically handled within the thttpcli. The problem is that the the thttpcli component will show a bad request (400) as the result of the relocation but that the sniffer shows no such reply from the server. Even weirder the sniffers shows that the server responded with the replies as expected. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be