Giter Site home page Giter Site logo

rack-synctime-demo's Introduction

Rack::Synctime demo

Simple rails app that prints Hello text and uses Rack::Synctime as middleware.

Launching demo

Setup your gemset and install app.

Star server and then in your fav terminal use curl command to verify it:

curl -G -i http://localhost:3000

Example output:

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
X-Synced-At: 1363562636
X-Ua-Compatible: IE=Edge
Etag: "952d2c56d0485958336747bcdd98590d"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 1b624e1bc4b398bac87fe51de8533324
X-Runtime: 0.002035
Server: WEBrick/1.3.1 (Ruby/1.9.3/2012-12-25)
Date: Sun, 17 Mar 2013 23:23:56 GMT
Content-Length: 6
Connection: Keep-Alive

Hello!

If you don't like use curl, you can verify your requests in web browser like Chrome using Inspector.

rack-synctime-demo's People

Contributors

qbart avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.