What I really like in open source is when people reuse existing stuff to bring up something new. Today Arkaitz Jimenez brought up a way to connect to VNC server with browser using hybrid solution from Python, JavaScript, gevent and WebSockets.
The exciting thing that this project uses patched version of python-vnc-viewer written by Chris Liechti that I've uploaded to Google Code, because it had to be updated to work with modern versions of required libraries. It is nice to see this effort brought up something cool today.
Showing posts with label web. Show all posts
Showing posts with label web. Show all posts
Saturday, November 12, 2011
Wednesday, February 03, 2010
URL parameters in action method of HTML form are lost for GET request
Surprisingly how experienced web-developers may miss some basic nuances of form processing that exist for many-many years. One of them is the fact that URL parameters added to action attribute of <form> element are lost for GET requests.
Example:
The parameter "missed=one" is missing from URL after clicking a button on a form with GET send method. It is present for POST form though.
Example:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Query string from action attribute is killed for GET request</title>
</head>
<body>
<form name="getSearchForm" action="?missed=one" method="get">
<input type="text" name="q" value="s" />
<button class="searchButton" type="submit">GET</button>
</form>
<form name="postSearchForm" action="?missed=one" method="post">
<input type="text" name="q" value="s" />
<button class="searchButton" type="submit">POST</button>
</form>
</body>
</html> The parameter "missed=one" is missing from URL after clicking a button on a form with GET send method. It is present for POST form though.
Wednesday, April 09, 2008
503 Service Temporarily Unavailable
Just a typical 503 page source to know what to look for in web site monitoring scripts. This one is usually displayed by Apache when triggered by Tomcat.
--cut-[503.html]-
--cut-[503.html]-
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">-----------------
<HTML><HEAD>
<TITLE>503 Service Temporarily Unavailable</TITLE>
</HEAD><BODY>
<H1>Service Temporarily Unavailable</H1>
The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.
</BODY></HTML>
Subscribe to:
Posts (Atom)