Showing posts with label http-headers. Show all posts
Showing posts with label http-headers. Show all posts

Tuesday, May 29, 2012

correct HTTP header for json file


I've searched around and found two different ways to define Content-type for JSON file loaded with php.

Friday, May 18, 2012

Friday, May 4, 2012

Wednesday, April 25, 2012

Resource interpreted as document but transferred with MIME type text/css


Resource interpreted as document but transferred with MIME type text/css



This is the error that's showing up in Google Chrome Inspector.

Email Tracking - GMail


I am creating my own email tracking system for email marketing tracking. I have been able to determine each persons email client they are using by using the http referrer but for some reason GMAIL does not send a HTTP_REFERRER at all!

Thursday, April 12, 2012

Prevent Back button from showing POST confirmation alert


I have an application that supplies long list of parameters to a web page, so I have to use POST instead of GET. The problem is that when page gets displayed and user clicks the Back button, Firefox shows up a warning: