CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 17 Aug 2025 02:22:50 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100213032006
location: https://web.archive.org/web/20100213032006/https://github.com/eventmachine/evma_httpserver
server-timing: captures_list;dur=0.934422, exclusion.robots;dur=0.033412, exclusion.robots.policy;dur=0.016106, esindex;dur=0.015765, cdx.remote;dur=7.929008, LoadShardBlock;dur=228.753811, PetaboxLoader3.datanode;dur=49.963564, PetaboxLoader3.resolve;dur=71.476920
x-app-server: wwwb-app213
x-ts: 302
x-tr: 287
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app213; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sun, 17 Aug 2025 02:22:50 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sat, 13 Feb 2010 03:20:06 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "87db048b5a38deb9fdf0d3d641fe4bff"
x-archive-orig-x-runtime: 104ms
x-archive-orig-content-length: 26061
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 13 Feb 2010 03:20:06 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 13 Feb 2010 03:20:06 GMT", ; rel="memento"; datetime="Sat, 13 Feb 2010 03:20:06 GMT", ; rel="next memento"; datetime="Mon, 22 Mar 2010 22:47:23 GMT", ; rel="last memento"; datetime="Tue, 13 May 2025 20:57:52 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: TLA-20100213002806-00648-ia360920-c/TLA-20100213030026-00760-ia360906.us.archive.org.warc.gz
server-timing: captures_list;dur=0.449991, exclusion.robots;dur=0.017654, exclusion.robots.policy;dur=0.008419, esindex;dur=0.010405, cdx.remote;dur=27.037138, LoadShardBlock;dur=185.855508, PetaboxLoader3.datanode;dur=99.458518, PetaboxLoader3.resolve;dur=136.394115, load_resource;dur=111.588549
x-app-server: wwwb-app213
x-ts: 200
x-tr: 390
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
eventmachine's evma_httpserver at master - GitHub
This service is courtesy of Pledgie.
eventmachine / evma_httpserver
- Source
- Commits
- Network (4)
- Issues (2)
- Downloads (1)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Branches (1)
- master ✓
- Tags (1)
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
An evented http server built on top of eventmachine — Read more
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Fri Dec 19 07:46:26 -0800 2008 | Import with fixes, rake cleanup, and working te... [raggi] |
![]() |
README | Fri Jul 31 17:14:25 -0700 2009 | Use #no_environment_strings in example for bett... [tmm1] |
![]() |
Rakefile | Fri Dec 19 07:46:26 -0800 2008 | Import with fixes, rake cleanup, and working te... [raggi] |
![]() |
docs/ | Fri Dec 19 07:46:26 -0800 2008 | Import with fixes, rake cleanup, and working te... [raggi] |
![]() |
eventmachine_httpserver.gemspec | Tue Sep 15 12:02:09 -0700 2009 | Version bump [tmm1] |
![]() |
eventmachine_httpserver.gemspec.tmpl | Fri Jul 31 18:56:16 -0700 2009 | Bump gem version [tmm1] |
![]() |
ext/ | Tue Sep 15 12:01:05 -0700 2009 | Minor cleanup [tmm1] |
![]() |
lib/ | Sat Feb 07 15:40:33 -0800 2009 | add DelegatedHttpResponse from 0.1 gem [tmm1] |
![]() |
test/ | Sat Feb 07 15:49:12 -0800 2009 | remove $:.unshift(lib) from test_delegated [tmm1] |
README
= eventmachine_httpserver == EM::HttpServer vs Thin +careo | is there a 25 word version of how it differs from thin? +tmm1 | good question.. its probably faster, but only because it doesn't have a real http parser like thin +wyhaines | It is faster. It's more of an nginx style parser than the mongrel, grammar based parser. +careo | so perhaps a better fit for putting an http interface on top of a bunch of already-evented code? +wyhaines | careo: It depends. There are very valid arguments for using an RFC-compliant parser a lot of the time. +wyhaines | But, yeah, sometimes being strictly RFC compliant isn't something that you care about. == Usage example require 'eventmachine' require 'evma_httpserver' class MyHttpServer < EM::Connection include EM::HttpServer def post_init super no_environment_strings end def process_http_request # the http request details are available via the following instance variables: # @http_protocol # @http_request_method # @http_cookie # @http_if_none_match # @http_content_type # @http_path_info # @http_request_uri # @http_query_string # @http_post_content # @http_headers response = EM::DelegatedHttpResponse.new(self) response.status = 200 response.content_type 'text/html' response.content = '<center><h1>Hi there</h1></center>' response.send_response end end EM.run{ EM.start_server '0.0.0.0', 8080, MyHttpServer }