Skip to main content

Kenyth Zeng's Library tagged http-header   View Popular

02 Jan 10

HTTP Error 405 Method not allowed Explained

illegal cross-domain ajax would cause this error

www.checkupdown.com/...E405.html - Preview

http http-header 405 troubleshooting

  • For example if a Web server is 'read-only' (no client can modify URL
    resources on the Web server), then it could be set up to disallow the PUT and
    DELETE methods. Similarly if there is no user input (all the Web pages are
    static), then the POST method could be disallowed. So 405 errors can arise
    because the Web server is not configured to take data from the client at all.
    They can also arise if the client does not have sufficient authority to the
    particular URL resource identified on the request.
25 Aug 09

TerrorZone: File (MIME) Types (Web Design in a Nutshell, 2nd Edition)

  • The browser determines how to handle the file based on that
    information -- whether to display the contents in the window, or
    to launch the appropriate plug-in or helper application.
  • MIME
    (Multipurpose Internet Mail Extension), which was originally
    developed for sending attachments in email.
  • 2 more annotations...
18 May 09

HTTP/1.1 Keep-Alive header

  • The Keep-Alive field is NOT a standard HTTP header field and may not be supported by all clients.
14 May 09

WEB-INF/classes/example/TestCometServlet.java

  • res.setHeader("Cache-Control", "no-cache, must-revalidate");
    res.setHeader("Expires", "Mon, 27 Jul 1997 05:00:00 GMT");

    res.setContentType("text/html");

    out.println("<html><body>");
26 Dec 08

How To Make IE Cache Less · Nadav Samet's Blog

  • Internet Explorer is known to cache the responses of GET calls. The problem occurs if your javascript functions request the same url over and over again. Internet Explorer will cache the response of the first call, and subsequent calls will automatically return the same response, without actually contacting the server.
  • add a random part to the url (i.e.: /poll?random=f2dee87716f).
  • 1 more annotations...

prototype Ajax.Updater and IE7 bug(?) - Ruby Forum

  • Ajax.Updater works only the first time and stops sending request
    afterwards.
  • just add header in the
    response object saying explicitly not to cache.
    only for GET requests, response must have something like this:
    <%
    response.setHeader("CACHE-CONTROL", "NO-CACHE");
    %>

From the Archives: Ajax IE Caching Issues | Null Disquisition

  • My problem was that if the url for the java servlet (e.g. ’servlet/imagemaker.jsp?foo=bar&goo=car’) had been requested recently, IE presumed that it didn’t need to ask the server for that url again.
  • i disabled asynchronity in my xmlhttprequest, and to my dismay - it worked.
  • 3 more annotations...
1 - 9 of 9
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo