Hello,

I am getting some weird behavior when posting to a URL with
HTTPService that returns an http reply with a status code of "301
Moved Permanently".

I am not using FDS nor is any proxy involved.

What I see happening is something along the lines of

- Application uses HTTPService to POST an HTTP request
- Server returns 301 with the location to where the resource has
moved. I can't seem to get hold of that information in my application
though (is there anyway to get that?)
- Application issues a GET request using HTTPService with an unrelated
and  different URL, but apparently, on the wire the redirect URL
returned from the first POST is now used in that new GET request.

I am sure I am doing something wrong here, but after a couple of hours
on  the net I am not making any progress.


So I guess my question is - should HTTPService automatically follow a
redirect and/or do I have to do something specific in the application
to make that work?

Any guidance warmly welcomed!

Peter

Reply via email to