background preloader

Web

Facebook Twitter

Character Sets. HTTP/1.1: Header Field Definitions. This section defines the syntax and semantics of all standard HTTP/1.1 header fields.

HTTP/1.1: Header Field Definitions

For entity-header fields, both sender and recipient refer to either the client or the server, depending on who sends and who receives the entity. 14.1 Accept The Accept request-header field can be used to specify certain media types which are acceptable for the response. Accept headers can be used to indicate that the request is specifically limited to a small set of desired types, as in the case of a request for an in-line image.

Accept = "Accept" ":" #( media-range [ accept-params ] ) media-range = ( "*/*" | ( type "/" "*" ) | ( type "/" subtype ) ) *( ";" parameter ) accept-params = ";" "q" "=" qvalue *( accept-extension ) accept-extension = ";" token [ "=" ( token | quoted-string ) ] The asterisk "*" character is used to group media types into ranges, with "*/*" indicating all media types and "type/*" indicating all subtypes of that type. The example Accept: audio/*; q=0.2, audio/basic.

Permanent Redirect with HTTP 301. This article describes how to properly redirect a web page using an HTTP 301 status code and Location header.

Permanent Redirect with HTTP 301

The 301 status code is used to indicate that a page has permanently moved. Multiple techniques are presented with recommendations. In order to redirect an out-of-print web page to another location, return the HTTP 301 status code and a location header in the HTTP response of the deprecated web page. The HTTP 301 response code will tell user-agents that the location has permanently moved. This is particularly useful for search engines like Google, which will carry over page rank to the new page if this status code is seen. HTTP Errors. Status codes in HTTP. This is a historic document and is not accurate anymore.

Status codes in HTTP

For up-to-date details on the HTTP specification, see the latest HTTP/1.1 drafts The values of the numeric status code to HTTP requests are as follows. The data sections of messages Error, Forward and redirection responses may be used to contain human-readable diagnostic information. Success 2xx These codes indicate success. The request was fulfilled. Following a POST command, this indicates success, but the textual part of the response line indicates the URI by which the newly created document should be known. Accepted 202 The request has been accepted for processing, but the processing has not been completed. Partial Information 203 When received in the response to a GET command, this indicates that the returned metainformation is not a definitive set of the object from a server with a copy of the object, but is from a private overlaid web.

No Response 204 Error 4xx, 5xx Bad request 400 Unauthorized 401 PaymentRequired 402 Forbidden 403. How to implement HTTP connection time out. Server not responding timeout - mozilla.support.firefox. Best Practices for Speeding Up Your Web Site. The Exceptional Performance team has identified a number of best practices for making web pages fast.

Best Practices for Speeding Up Your Web Site

The list includes 35 best practices divided into 7 categories. Minimize HTTP Requests tag: content 80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, stylesheets, scripts, Flash, etc. One way to reduce the number of components in the page is to simplify the page's design. Combined files are a way to reduce the number of HTTP requests by combining all scripts into a single script, and similarly combining all CSS into a single stylesheet. CSS Sprites are the preferred method for reducing the number of image requests. Image maps combine multiple images into a single image. How to access blocked websites – Top 10. Before you try out any of the methods listed here, I suggest you install Firefox browser.

How to access blocked websites – Top 10

For faster and smoother internet access, Firefox is the best browser available out there. When you are accessing proxy sites or similar sites ensure that you use Firefox not Internet Explorer. Internet censoring is now everywhere. In my office Orkut is blocked since there was an Orkut virus scare. Countries such as China, Saudi Arabia etc. routinely block many websites. Last week I did an investigation into the various methods available for bypassing website access restrictions. Top Ten methods to access banned websites. Data viewer directory. PDF/PPT/TIF viewer with Google docs for Greasemonkey.

Web Elements. MimeTypes.rdf. From MozillaZine Knowledge Base mimeTypes.rdf stores information about which action is to be performed when downloading certain types of files, such as opening the file in a specific program or saving it to disk.

MimeTypes.rdf

In Firefox, this information can be viewed or changed in "Tools -> Options -> Content / File Types -> Manage. 4.8.11 The canvas element — HTML5 (including next generation additions still in development)

Firefox

Google Chrome. Html. OEMBED. Php. Flex. Javascript. Config.