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


Groups > comp.lang.javascript > #38913

Re: IIS http.open "GET" error

Path csiph.com!weretis.net!feeder8.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Frank Kozuschnik <franko@nurfuerspam.de>
Newsgroups comp.lang.javascript
Subject Re: IIS http.open "GET" error
Date Thu, 8 Oct 2020 10:38:01 +0200
Organization solani.org
Message-ID <rlmj59$45u$1@solani.org> (permalink)
References <ebdc63ad-7565-4d6e-872e-90c9a8719f70o@googlegroups.com> <p2trnf1q8dark9985775iot7rk74jc59ih@4ax.com> <70aa8941-dbc7-4277-a7f2-a2f1cbd63ab2o@googlegroups.com> <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>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Thu, 8 Oct 2020 08:38:01 -0000 (UTC)
Injection-Info solani.org; logging-data="4286"; mail-complaints-to="abuse@news.solani.org"
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1
X-User-ID eJwFwYEBwCAIA7CXcLRAz2Eq/59gQo8VOxEMcDjfeKEd2j9xVo76+hES7CKuOc2CamKqpQcPXhBY
In-Reply-To <f46d3d9f-8eac-4974-9b61-20be4ec2c31do@googlegroups.com>
Cancel-Lock sha1:pu7QuijATGXz3WHegG6kl9LbMP8=
Xref csiph.com comp.lang.javascript:38913

Show key headers only | 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