Bug in OW3 Beta9 (HTTP Error 406 with Microsoft-IIS/4.0 server)????

Juergen Moellenhoff jurgen at oic.de
Wed Apr 28 18:48:51 PDT 1999


> > it seems that it is impossible to download files with OW3 Beta9
> > from a Web-Server that runs Microsoft-IIS/4.0!!! Try to download
> > http://www.microsoft.com/typography/downloads/andale32.exe.
> 
> In beta 9, we changed our Accept header to no longer include the  
> wildcard content type */*.  You can turn this back on (and we've done  
> so for future releases) by typing the following command in a  
> Terminal window:
> 
> 	defaults write OmniWeb OWHTTPFakeAcceptHeader YES
> 
> Hope this helps!

Yes I know :-). I checked the source code and saw it :-), but there is another workaround, just click (in the OmniWeb-Browser) with the mouse pointer on the URL while you press the "Alternate" key, then OW3 Beta9 sends an empty Accept-Header and it is possible to download the file.

The output from the console:

-------------------------------------------
Apr 24 15:20:04  http Tx: GET http://www.microsoft.com/typography/downloads/andale32.exe HTTP/1.1
User-Agent: OmniWeb/3.0-beta-9 OWF/1999B
Pragma: no-cache
Host: www.microsoft.com
Accept: image/x-table, image/tiff, image/jpeg, application/postscript, image/x-xbitmap, application/futuresplash, image/xpm, application/x-shockwave-flash, image/png, image/gif, image/x-xtable, image/x-immatrix, image/x-immatrixd, application/rtf, image/x-rib, text/plain, text/html, image/x-portable-anymap
Accept-Encoding: gzip, compress
Accept-Language: de, en, fr, es, it, sv


Apr 24 15:20:08  http Rx: HTTP/1.0 406 No acceptable objects were found
-------------------------------------------

-------------------------------------------
Apr 24 15:20:19  http Tx: GET http://www.microsoft.com/typography/downloads/andale32.exe HTTP/1.1
User-Agent: OmniWeb/3.0-beta-9 OWF/1999B
Host: www.microsoft.com
Accept: 
Accept-Encoding: gzip, compress
Accept-Language: de, en, fr, es, it, sv


Apr 24 15:20:21  http Rx: HTTP/1.1 200 OK
-------------------------------------------

Bye,

	Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2114 bytes
Desc: not available
Url : /mailman/archive/omniweb-l/attachments/19990429/cae38c7d/attachment.bin


More information about the OmniWeb-l mailing list