Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

qbart/rack-synctime-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Demo app for Rack::Synctime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages