Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remote http call error 1

Status
Not open for further replies.

brownfox

Programmer
Jan 5, 2003
173
GB
When a purchase is made from my site I have mals-e.com send a remote http request to a page that updates the database etc. However it always fails - in debug mode I get this:
Code:
HTTP/1.1 302 Moved Temporarily
Plus some other stuff about get vars...
If I hit the page in a browser, everything works OK. If I use putty I get the same HTTP/1.1 302 Moved Temporarily error. Is this the problem I wonder? Why would the remote call fail when a browser request works...?
T.I.A
 
If you look, you'll see that the site won't let you give yourself a star. So I know that line was hyperbolic at least.


You're right, there are limits to what can be transmitted in a GET-method input. But there are no hard-and-fast rules. Different browsers allow URLs of different maximum lengths. And since GET-method values are placed in environment variables, the underlying web server's OS can afffect how much can be sent in a GET, too.

I remember one RFC somewhere saying that a URL should be no more than 255 characters long. But I can't find the reference, so I can't even say I didn't imagine it.



Want the best answers? Ask the best questions! TANSTAAFL!
 
UPDATE - I was apparently wrong on this. you will get a browser redirect if you go to You should do full URL to avoid 302 redirect error when trying remote http request. So for google (and anyone else):
remote http error - do full URL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top