Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: jonathantneal/nodache
base: f69dcea620
...
head fork: jonathantneal/nodache
compare: d40d3727bb
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 6 additions and 0 deletions.
  1. +6 −0 server.js
View
6 server.js
@@ -10,6 +10,10 @@ REQUIRE = GLOBAL.require = {
jshtml: require('./jshtml.js')
};
+process.on('uncaughtException', function (err) {
+ console.log('Caught exception: ' + err);
+});
+
// Creates an object representing a server response
@@ -156,6 +160,8 @@ REQUIRE.http.createServer(function (request, response) {
GLOBAL.request = request;
GLOBAL.response = response;
+ console.log(request.headers['user-agent']);
+
if (request.method === 'GET') {
// Get response object
handleRequest(request.url, function (response_object) {

No commit comments for this range

Something went wrong with that request. Please try again.