# Document type / content type problems

**URL:** <https://www.ruby-forum.com/t/document-type-content-type-problems/136355>\
**Category:** NGINX\
**Created:** [May 1, 2008, 5:07am UTC](https://www.ruby-forum.com/t/document-type-content-type-problems/136355 "2008-05-01T05:07:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kiril\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@Kiril\_A](https://www.ruby-forum.com/u/Kiril_A)\
**Post date:** [May 1, 2008, 5:07am UTC](https://www.ruby-forum.com/t/document-type-content-type-problems/136355/1 "2008-05-01T05:07:03Z")

</div>

Hello list,

I have a strange problem where one of my domains is experiencing  
problems. The problem is that under Firefox, it gives me a prompt to  
download the file rather than displaying it in the browser window. The  
same domain works just fine under Safari or IE. I thought there is  
some problem with the headers or something but I tried all I could and  
the problem is still here:

if I do “curl -i” I get:

HTTP/1.1 200 OK  
Server: nginx/0.6.30  
Date: Thu, 01 May 2008 02:51:41 GMT  
Content-Type: text/html; charset=utf-8  
Content-Length: 4082  
Last-Modified: Thu, 01 May 2008 01:18:04 GMT  
Connection: keep-alive  
Accept-Ranges: bytes

The domain in question is [icepique.com](http://icepique.com)

I do not even know what info to provide as I do not know what is  
relevant so if you know what I should check first, let me know and I  
can provide more info.

Thanks in advance,  
Kiril

---

<div class="post-metadata">

**Author:** ![Kiril\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@Kiril\_A](https://www.ruby-forum.com/u/Kiril_A)\
**Post date:** [May 1, 2008, 5:19am UTC](https://www.ruby-forum.com/t/document-type-content-type-problems/136355/2 "2008-05-01T05:19:55Z")

</div>

[http://www.icepique.com/](http://www.icepique.com/) works for me in Firefox 3.0b5. Did you  
recently change the default content type? If so you could try  
clearing cache.

---

<div class="post-metadata">

**Author:** ![Kiril\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@Kiril\_A](https://www.ruby-forum.com/u/Kiril_A)\
**Post date:** [May 1, 2008, 6:13am UTC](https://www.ruby-forum.com/t/document-type-content-type-problems/136355/3 "2008-05-01T06:13:08Z")

</div>

Yes, I cleared the cache and it works on 2.x too. Strange, I did hard  
refresh many times but yes I was trying to fix it so I guess something  
worked 🙂

Sorry to bother.

Kiril
