Re: euTCP4u get_file errors
- Posted by Kat <gertie at PELL.NET> Jun 21, 2002
- 420 views
--Message-Boundary-31991 Content-description: Mail message body On 20 Jun 2002, at 23:37, Ray Smith wrote: > > Hi All, > > I have done a small amount of investigation and found the problems > that people have been having associated with using http4u_get_file() > are to do with the base library only implementing HTTP 1.0 protocol. Could you detail the problems? > It seems that most web servers now seem to be using HTTP 1.1. > > I have contacted the author of Tcp4u and he said it would be unlikely > that he would update to the 1.1 protocol. Why is this necessary? > I had a quick look at the HTTP 1.1 protocol with thoughts of > writing a Euphoria version of get_file using simple sockets but I > don't see myself doing that in the near future either :(. > > So ... sadly ... I'll remove the HTTP functions from euTCP4u. Rather than break existing userbase, why not emulate the calls in the next release? And if you are still going to update tcp4u, we *need* a way to not use the setting in Internet Exporer, like it's proxy settings. I cannot specify a port on my machine to use, only a port on the target machine, this is a real problem for certain applications. Same with domain names, tcp4u needs a ip# unless the http functions are used, but they cannot be used *only* to do the ip lookup. Here's how i am doing http with tcp4u (attached file). Note i specify HTTP 1.0, and it works. Maybe someone with a gift for debugging can tell me why a get a dos box popping up at the end of the program run. I plan on coding this program differently, to modularize the various functions, and add some learning ability to it. Kat --Message-Boundary-31991 Content-type: text/plain; charset=US-ASCII Content-disposition: inline Content-description: Attachment information. The following section of this message contains a file attachment prepared for transmission using the Internet MIME message format. If you are using Pegasus Mail, or any another MIME-compliant system, you should be able to save it or view it from within your mailer. If you cannot, please ask your system administrator for assistance. ---- File information ----------- File: Getabcnews2.exw Date: 21 Jun 2002, 14:21 Size: 16620 bytes. Type: Unknown --Message-Boundary-31991 Content-type: Application/Octet-stream; name="Getabcnews2.exw"; type=Unknown Content-disposition: attachment; filename="Getabcnews2.exw"