Developers › Choose Opera

Speaking HTTP

September 13, 2012 · by Anna Rohleder

This week, our friends over at dev.opera are focusing on HTTP, otherwise known as the secret language of the internet.

Some of you probably know that HTTP stands for Hypertext Transfer Protocol, and that it is what allows web browsers like Opera to "read" pages like this one to your phone or computer. But could you yourself explain, in detail, how HTTP really works? If you're looking for the full story about HTTP response codes in particular, this article on address mechanisms breaks it down for you.

(If nothing else, after reading it you'll understand why 404 errors are called exactly that!)

For those who are already putting their HTTP knowledge into practice, this article about a new test server called RoboHydra (sounds scary!) details a unique new test server that allows you to stage-test HTTP responses for web application clients.

Check it out and get coding!

Readers' comments 17

Left under the original article, as archived.

  • TamilThursday, September 13, 2012 2:07:51 PM

    200
  • Edoes Humanus SarsimThursday, September 13, 2012 2:59:01 PM

    202 :yes: 200
  • CoyoteeThursday, September 13, 2012 3:13:29 PM

    200
  • Charles SchlossThursday, September 13, 2012 4:34:13 PM

    200 :smile:
  • lucideerThursday, September 13, 2012 9:09:17 PM

    418
  • slackwrdaveFriday, September 14, 2012 4:21:19 AM

    My favorite is a server that is configured with a custom "404" page that accuses you of wrongdoing or being stupid, when the problem is that the server is just missing a file. :p:

    BTW, the Karl DuBost @ dev.opera articles on HTTP mentioned in the post are wonderful. He does a nice job on making things fun and clear. :up:
  • pieta2Saturday, September 15, 2012 3:22:14 AM

    captured
  • AvaJonesSaturday, September 15, 2012 6:00:05 AM

    :smile: :up:
  • Fikile NtsaliSaturday, September 15, 2012 5:00:23 PM

    I want to study how to speak HTML as well as know how java script works more than anything
  • slackwrdaveSunday, September 16, 2012 12:00:30 AM

    Originally posted by fikile6:

    I want to study how to speak HTML




    :up: Me, too.

    I know some basics but want to know more.
  • CoyoteeSunday, September 16, 2012 7:56:28 PM

    Learn HTML5! Here's a starter for you. Copy-paste the following into a text file then change the extension from .txt to .html and open with Opera.
    <!doctype html><title>Hello World</title><meta charset=utf-8>
    
    <style>
    body   { background-color:gray; border:lime solid 2px; width:800px; height:600px; }
    canvas { background-color:blue; border:red solid 2px; margin:0px 0px 0px 200px; } 
    p      { color:red; font-size:30px; }
    </style>
    
    <script>
    function go()
    {
    box = document.querySelector('canvas').getContext('2d')
    box.fillStyle = 'rgb(200,200,0)'
    box.fillRect(50,50,100,100)
    box.fillStyle = 'rgb(200,0,200)'
    box.fillRect(150,150,100,100)
    box.fillStyle = 'rgb(0,200,200)'
    box.fillRect(250,250,100,100)
    }
    </script>
    
    <body onload='go()'>
    <p>Hello World</p>
    <canvas width=400 height=400 ></canvas>
    </body>
    
  • slackwrdaveMonday, September 17, 2012 1:27:26 AM

    Originally posted by Coyotee:

    Copy-paste the following
    into a text file then change the extension from .txt to .html and open with Opera.



    Pretty! Nice teaser making the class want to learn more. :bigsmile:
  • MagiconMonday, September 17, 2012 12:28:42 PM

    What about socket connection
  • CoyoteeMonday, September 17, 2012 2:12:41 PM

    Originally posted by Magicon:

    What about socket connection


    There is a section about "socket connections" in the book "HTML5" by Lawson&Sharp. Check your local library.
  • MagiconWednesday, September 19, 2012 6:15:42 AM

    How can i check my libray
  • Nurhusien hasenSaturday, October 6, 2012 6:03:08 PM

    find opera HTTP serves
  • Fikile NtsaliFriday, October 12, 2012 2:24:28 PM

    I want to know all about building a java or an android application

About this article

Published inChoose Opera
DateSeptember 13, 2012
AuthorAnna Rohleder
TagsDev.Opera, HTTP, response codes, RoboHydra, test server
OriginalInternet Archive