Title: Tango HTTP Header Bug?
Ever since I have switched my apps from Mac OS 9/WebStar/Tango 4.05.047 to Win2000/IBM HTTP/Tango 4.05.047 I have noticed some bizarre results with some of my apps, especially when I modify the HTTP Header. After doing some research/Testing, I have found the following:
Here is what I am assigning the HTTP Header to be:
HTTP/1.1 200 OK<@crlf>Server: WiTango v4.05.047<@crlf>MIME-Version: 1.0<@crlf>Content-Type: image/jpeg<@crlf><@crlf>
Short and simple, works. Now I take the same taf that serves a JPEG and run it on the mac, and the other on the windows setup. Then I test the contents of the header. For those of you who don’t know to do this, you use telnet to telnet into your web server and pretend your a browser. From my OS X Terminal I type:
telnet www.mysite.com 80
This connects me and gives me a response like this:
Connected to www.mysite.com.
Escape character is '^]'.
I then manually type in a request like I am a browser (I am using the minimal info necessary):
GET /thumb.taf?key=13 HTTP/1.1 [HIT RETURN]
Host: www.mysite.com [HIT RETURN 2X]
You must add the host line on a virtual host web server, so that it knows where to find the file. Now the results from the Mac/Tango system:
HTTP/1.0 200 OK
Server: WebStar/1.0 ID/ACGI
MIME-Version: 1.0
Content-Type: image/jpeg
[the binary info follows the header]
As you can see, the Mac system is using the header I told it too. Now here are the results from an identical taf file on the Win2000/Tango server:
HTTP/1.1 200 OK
Date: Sat, 04 May 2002 08:24:30 GMT
Server: IBM_HTTP_SERVER/1.3.19.1 Apache/1.3.20
MIME-Version: 1.0
Transfer-Encoding: chunked
Content-Type: image/jpeg
[the binary info follows the header]
It correctly set the contentType, but it is not my header.
So my question to the list is this:
Could this just be my use of the IBM HTTP Server? Does the happen on IIS or Netscape servers? What about linux?
Serving binary data is a very important part of app serving with Tango. Any info we can pass to Phil and the team would really be great, I know they are working on this. Plus, I want fix this.
--
Robert Garcia
BigHead Technology
21053 Devonshire Suite 206
Chatsworth, Ca 91311
Phone 818.773.8162
Fax 818.773.8164
http://www.bighead.net/
[EMAIL PROTECTED]
- Re: Witango-Talk: Tango HTTP Header Bug? Robert Garcia
- Re: Witango-Talk: Tango HTTP Header Bug? Scott Cadillac
- Re: Witango-Talk: Tango HTTP Header Bug? Robert Garcia
- Re: Witango-Talk: Tango HTTP Header Bug? Scott Cadillac
- Re: Witango-Talk: Tango HTTP Header Bug? Robert Garcia
