Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #38913

Re: IIS http.open "GET" error

From Frank Kozuschnik <franko@nurfuerspam.de>
Newsgroups comp.lang.javascript
Subject Re: IIS http.open "GET" error
Date 2020-10-08 10:38 +0200
Organization solani.org
Message-ID <rlmj59$45u$1@solani.org> (permalink)
References (3 earlier) <b45e9346-f223-407f-828e-37cfc19415f7o@googlegroups.com> <1b936f13-60b8-4c71-8e9c-cf3f55ac95aeo@googlegroups.com> <5a99baa7-f3dc-4cc7-9551-5a413e1e3105o@googlegroups.com> <eaa2a875-94c9-4f97-9f30-21b2cc1ab4c8o@googlegroups.com> <f46d3d9f-8eac-4974-9b61-20be4ec2c31do@googlegroups.com>

Show all headers | View raw


Jonas Thörnvall:

> Julio Di Egidio:
>
>>> Jonas Thörnvall:
>>>
>>>> Well i changed the extension to TXT and it now works, do anyone
>>>> know where to set the allowed extensions to download in IIS?
>>
>> <https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap#how-to>
>>
>> (Don't look at the sample code, just follow the how-to section...)
> 
> Thanks Julio, unfortunately it must be something more then set the
> mimetype to plain/text to allow the extension for HTTP GET in IIS
> server. It is no problem for me to use TXT as extension for the
> chessgame autoloaded, but i was just curious howto allow my new
> extension to be downloaded from server.

Did you try Julio's suggestion?

If the file name suffix ("extension") does not exist in the "MIME Types" 
list, IIS does not serve the file to clients and will return a HTTP 404 
error instead. To make IIS serve the file, you have to add its suffix to 
the "MIME Types" list (<mimeMap> element in the configuration file). The 
actual MIME type that you enter does not matter for the purpose of 
allowing the download (it will be returned in the HTTP Content-Type header).

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 08:23 -0700
  Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 08:34 -0700
    Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 08:35 -0700
  Re: IIS http.open "GET" error John G Harris <niam@jghnorth.org.uk.invalid> - 2020-10-07 18:01 +0100
    Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 10:18 -0700
      Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 11:51 -0700
        Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 11:59 -0700
          Re: IIS http.open "GET" error "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-10-07 21:14 +0200
          Re: IIS http.open "GET" error Julio Di Egidio <julio@diegidio.name> - 2020-10-07 17:20 -0700
            Re: IIS http.open "GET" error Julio Di Egidio <julio@diegidio.name> - 2020-10-07 17:30 -0700
              Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-07 19:26 -0700
                Re: IIS http.open "GET" error Frank Kozuschnik <franko@nurfuerspam.de> - 2020-10-08 10:38 +0200
                Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-08 02:07 -0700
                Re: IIS http.open "GET" error Julio Di Egidio <julio@diegidio.name> - 2020-10-08 05:49 -0700
                Re: IIS http.open "GET" error "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-10-08 15:22 +0200
                Re: IIS http.open "GET" error Julio Di Egidio <julio@diegidio.name> - 2020-10-08 06:30 -0700
  Re: IIS http.open "GET" error Arno Welzel <usenet@arnowelzel.de> - 2020-10-09 12:03 +0200
    Re: IIS http.open "GET" error Frank Kozuschnik <franko@nurfuerspam.de> - 2020-10-09 17:33 +0200
      Re: IIS http.open "GET" error Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-10-09 18:14 +0200
        Re: IIS http.open "GET" error Frank Kozuschnik <franko@nurfuerspam.de> - 2020-10-09 19:38 +0200
          Re: IIS http.open "GET" error Julio Di Egidio <julio@diegidio.name> - 2020-10-11 03:30 -0700
      Re: IIS http.open "GET" error Arno Welzel <usenet@arnowelzel.de> - 2020-10-09 23:49 +0200
    Re: IIS http.open "GET" error Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-10-09 11:06 -0700
      Re: IIS http.open "GET" error Arno Welzel <usenet@arnowelzel.de> - 2020-10-09 23:52 +0200

csiph-web