mongrel 0.3.10.1 → 0.3.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. data/Rakefile +14 -2
  2. data/bin/mongrel_rails +7 -1
  3. data/bin/mongrel_rails_service +4 -4
  4. data/lib/mongrel.rb +5 -6
  5. data/tools/rakehelp.rb +4 -2
  6. metadata +3 -134
  7. data/doc/rdoc/classes/Mongrel.html +0 -175
  8. data/doc/rdoc/classes/Mongrel/CGIWrapper.html +0 -381
  9. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000057.html +0 -24
  10. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000058.html +0 -47
  11. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000059.html +0 -34
  12. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000060.html +0 -27
  13. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000061.html +0 -25
  14. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000062.html +0 -18
  15. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000063.html +0 -18
  16. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000064.html +0 -18
  17. data/doc/rdoc/classes/Mongrel/CGIWrapper.src/M000065.html +0 -19
  18. data/doc/rdoc/classes/Mongrel/Camping.html +0 -177
  19. data/doc/rdoc/classes/Mongrel/Camping.src/M000019.html +0 -22
  20. data/doc/rdoc/classes/Mongrel/Camping/CampingHandler.html +0 -165
  21. data/doc/rdoc/classes/Mongrel/Camping/CampingHandler.src/M000020.html +0 -18
  22. data/doc/rdoc/classes/Mongrel/Camping/CampingHandler.src/M000021.html +0 -27
  23. data/doc/rdoc/classes/Mongrel/Command.html +0 -119
  24. data/doc/rdoc/classes/Mongrel/Command/Base.html +0 -332
  25. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000006.html +0 -24
  26. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000007.html +0 -41
  27. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000008.html +0 -18
  28. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000009.html +0 -18
  29. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000010.html +0 -18
  30. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000011.html +0 -22
  31. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000012.html +0 -18
  32. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000013.html +0 -18
  33. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000014.html +0 -18
  34. data/doc/rdoc/classes/Mongrel/Command/Base.src/M000015.html +0 -18
  35. data/doc/rdoc/classes/Mongrel/Command/Registry.html +0 -192
  36. data/doc/rdoc/classes/Mongrel/Command/Registry.src/M000016.html +0 -20
  37. data/doc/rdoc/classes/Mongrel/Command/Registry.src/M000017.html +0 -25
  38. data/doc/rdoc/classes/Mongrel/Command/Registry.src/M000018.html +0 -46
  39. data/doc/rdoc/classes/Mongrel/Const.html +0 -352
  40. data/doc/rdoc/classes/Mongrel/DirHandler.html +0 -283
  41. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000029.html +0 -20
  42. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000030.html +0 -42
  43. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000031.html +0 -40
  44. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000032.html +0 -31
  45. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000033.html +0 -38
  46. data/doc/rdoc/classes/Mongrel/DirHandler.src/M000034.html +0 -18
  47. data/doc/rdoc/classes/Mongrel/Error404Handler.html +0 -171
  48. data/doc/rdoc/classes/Mongrel/Error404Handler.src/M000066.html +0 -18
  49. data/doc/rdoc/classes/Mongrel/Error404Handler.src/M000067.html +0 -18
  50. data/doc/rdoc/classes/Mongrel/HeaderOut.html +0 -185
  51. data/doc/rdoc/classes/Mongrel/HeaderOut.src/M000041.html +0 -18
  52. data/doc/rdoc/classes/Mongrel/HeaderOut.src/M000042.html +0 -21
  53. data/doc/rdoc/classes/Mongrel/HttpHandler.html +0 -146
  54. data/doc/rdoc/classes/Mongrel/HttpHandler.src/M000043.html +0 -17
  55. data/doc/rdoc/classes/Mongrel/HttpParser.html +0 -271
  56. data/doc/rdoc/classes/Mongrel/HttpParser.src/M000022.html +0 -28
  57. data/doc/rdoc/classes/Mongrel/HttpParser.src/M000023.html +0 -29
  58. data/doc/rdoc/classes/Mongrel/HttpParser.src/M000024.html +0 -29
  59. data/doc/rdoc/classes/Mongrel/HttpParser.src/M000025.html +0 -41
  60. data/doc/rdoc/classes/Mongrel/HttpParser.src/M000026.html +0 -27
  61. data/doc/rdoc/classes/Mongrel/HttpParser.src/M000027.html +0 -27
  62. data/doc/rdoc/classes/Mongrel/HttpParser.src/M000028.html +0 -28
  63. data/doc/rdoc/classes/Mongrel/HttpRequest.html +0 -177
  64. data/doc/rdoc/classes/Mongrel/HttpRequest.src/M000068.html +0 -39
  65. data/doc/rdoc/classes/Mongrel/HttpResponse.html +0 -321
  66. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000044.html +0 -21
  67. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000045.html +0 -20
  68. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000046.html +0 -19
  69. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000047.html +0 -19
  70. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000048.html +0 -20
  71. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000049.html +0 -20
  72. data/doc/rdoc/classes/Mongrel/HttpResponse.src/M000050.html +0 -20
  73. data/doc/rdoc/classes/Mongrel/HttpServer.html +0 -310
  74. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000035.html +0 -36
  75. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000036.html +0 -57
  76. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000037.html +0 -48
  77. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000038.html +0 -18
  78. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000039.html +0 -18
  79. data/doc/rdoc/classes/Mongrel/HttpServer.src/M000040.html +0 -23
  80. data/doc/rdoc/classes/Mongrel/StopServer.html +0 -117
  81. data/doc/rdoc/classes/Mongrel/TimeoutWorker.html +0 -117
  82. data/doc/rdoc/classes/Mongrel/URIClassifier.html +0 -301
  83. data/doc/rdoc/classes/Mongrel/URIClassifier.src/M000051.html +0 -18
  84. data/doc/rdoc/classes/Mongrel/URIClassifier.src/M000052.html +0 -18
  85. data/doc/rdoc/classes/Mongrel/URIClassifier.src/M000053.html +0 -39
  86. data/doc/rdoc/classes/Mongrel/URIClassifier.src/M000054.html +0 -51
  87. data/doc/rdoc/classes/Mongrel/URIClassifier.src/M000055.html +0 -36
  88. data/doc/rdoc/classes/Mongrel/URIClassifier.src/M000056.html +0 -83
  89. data/doc/rdoc/classes/RailsHandler.html +0 -245
  90. data/doc/rdoc/classes/RailsHandler.src/M000003.html +0 -22
  91. data/doc/rdoc/classes/RailsHandler.src/M000004.html +0 -48
  92. data/doc/rdoc/classes/RailsHandler.src/M000005.html +0 -23
  93. data/doc/rdoc/classes/TCPServer.html +0 -173
  94. data/doc/rdoc/classes/TCPServer.src/M000001.html +0 -19
  95. data/doc/rdoc/created.rid +0 -1
  96. data/doc/rdoc/files/COPYING.html +0 -756
  97. data/doc/rdoc/files/LICENSE.html +0 -756
  98. data/doc/rdoc/files/README.html +0 -302
  99. data/doc/rdoc/files/ext/http11/http11_c.html +0 -101
  100. data/doc/rdoc/files/lib/mongrel/camping_rb.html +0 -108
  101. data/doc/rdoc/files/lib/mongrel/cgi_rb.html +0 -108
  102. data/doc/rdoc/files/lib/mongrel/command_rb.html +0 -111
  103. data/doc/rdoc/files/lib/mongrel/handlers_rb.html +0 -101
  104. data/doc/rdoc/files/lib/mongrel/init_rb.html +0 -109
  105. data/doc/rdoc/files/lib/mongrel/rails_rb.html +0 -109
  106. data/doc/rdoc/files/lib/mongrel/tcphack_rb.html +0 -109
  107. data/doc/rdoc/files/lib/mongrel_rb.html +0 -116
  108. data/doc/rdoc/fr_class_index.html +0 -47
  109. data/doc/rdoc/fr_file_index.html +0 -38
  110. data/doc/rdoc/fr_method_index.html +0 -94
  111. data/doc/rdoc/index.html +0 -24
  112. data/doc/rdoc/rdoc-style.css +0 -208
data/Rakefile CHANGED
@@ -32,7 +32,7 @@ end
32
32
  setup_extension("http11", "http11")
33
33
 
34
34
  name="mongrel"
35
- version="0.3.10.1"
35
+ version="0.3.11"
36
36
 
37
37
  setup_gem(name, version) do |spec|
38
38
  spec.summary = "A small fast HTTP library and server that runs Rails, Camping, and Nitro apps."
@@ -43,7 +43,7 @@ setup_gem(name, version) do |spec|
43
43
  spec.files += %w(ext/http11/MANIFEST README Rakefile setup.rb)
44
44
 
45
45
  spec.add_dependency('daemons', '>= 0.4.2')
46
- spec.add_dependency('gem_plugin', '>= 0.2')
46
+ spec.add_dependency('gem_plugin', '>= 0.2.1')
47
47
  spec.required_ruby_version = '>= 1.8.4'
48
48
  end
49
49
 
@@ -87,3 +87,15 @@ task :uninstall => [:clean] do
87
87
  sh %{sudo gem uninstall mongrel}
88
88
  sub_project("gem_plugin", :uninstall)
89
89
  end
90
+
91
+
92
+ task :gem_source do
93
+ mkdir_p "pkg/gems"
94
+
95
+ FileList["**/*.gem"].each { |gem| mv gem, "pkg/gems" }
96
+ FileList["pkg/*.tgz"].each {|tgz| rm tgz }
97
+ rm_rf "pkg/#{name}-#{version}"
98
+
99
+ sh %{ generate_yaml_index.rb -d pkg }
100
+ sh %{ scp -r pkg/* #{ENV['SSH_USER']}@rubyforge.org:/var/www/gforge-projects/mongrel/releases/ }
101
+ end
@@ -121,7 +121,13 @@ class Start < GemPlugin::Plugin "/commands"
121
121
  begin
122
122
  # start mongrel processing thread
123
123
  server.run
124
- STDERR.puts "Server ready."
124
+
125
+ if RUBY_PLATFORM !~ /mswin/
126
+ puts "Server Ready. Use CTRL-C to quit."
127
+ else
128
+ puts "Server Ready. Use CTRL-Pause/Break to quit."
129
+ end
130
+
125
131
  server.acceptor.join
126
132
  rescue Interrupt
127
133
  STDERR.puts "Interrupted."
@@ -30,7 +30,7 @@ module GenericCommand
30
30
  end
31
31
  end
32
32
 
33
- class Install < Mongrel::Plugin "/commands"
33
+ class Install < GemPlugin::Plugin "/commands"
34
34
  include Mongrel::Command::Base
35
35
 
36
36
  # Default every option to nil so only the defined ones get passed to service
@@ -174,7 +174,7 @@ class Install < Mongrel::Plugin "/commands"
174
174
  end
175
175
  end
176
176
 
177
- class Delete < Mongrel::Plugin "/commands"
177
+ class Delete < GemPlugin::Plugin "/commands"
178
178
  include Mongrel::Command::Base
179
179
  include GenericCommand
180
180
 
@@ -193,7 +193,7 @@ class Delete < Mongrel::Plugin "/commands"
193
193
  end
194
194
  end
195
195
 
196
- class Start < Mongrel::Plugin "/commands"
196
+ class Start < GemPlugin::Plugin "/commands"
197
197
  include Mongrel::Command::Base
198
198
  include GenericCommand
199
199
 
@@ -218,7 +218,7 @@ class Start < Mongrel::Plugin "/commands"
218
218
  end
219
219
  end
220
220
 
221
- class Stop < Mongrel::Plugin "/commands"
221
+ class Stop < GemPlugin::Plugin "/commands"
222
222
  include Mongrel::Command::Base
223
223
  include GenericCommand
224
224
 
@@ -33,9 +33,6 @@ module Mongrel
33
33
  class StopServer < Exception
34
34
  end
35
35
 
36
- # Used to timeout worker threads that have taken too long
37
- class TimeoutWorker < Exception
38
- end
39
36
 
40
37
  # Every standard HTTP code mapped to the appropriate message. These are
41
38
  # used so frequently that they are placed directly in Mongrel for easy
@@ -181,9 +178,11 @@ module Mongrel
181
178
  params[Const::CONTENT_TYPE] = params[Const::HTTP_CONTENT_TYPE] if params[Const::HTTP_CONTENT_TYPE]
182
179
  params[Const::GATEWAY_INTERFACE]=Const::GATEWAY_INTERFACE_VALUE
183
180
  params[Const::REMOTE_ADDR]=socket.peeraddr[3]
184
- host,port = params[Const::HTTP_HOST].split(":")
185
- params[Const::SERVER_NAME]=host
186
- params[Const::SERVER_PORT]=port || 80
181
+ if params.has_key? Const::HTTP_HOST
182
+ host,port = params[Const::HTTP_HOST].split(":")
183
+ params[Const::SERVER_NAME]=host
184
+ params[Const::SERVER_PORT]=port || 80
185
+ end
187
186
  params[Const::SERVER_PROTOCOL]=Const::SERVER_PROTOCOL_VALUE
188
187
  params[Const::SERVER_SOFTWARE]=Const::MONGREL_VERSION
189
188
 
@@ -104,6 +104,8 @@ def setup_win32_gem(pkg_name, pkg_version)
104
104
  Gem::Builder.new(spec).build
105
105
  end
106
106
 
107
- def sub_project(project, target="")
108
- sh %{cd projects/#{project}; rake #{target.to_s}; }
107
+ def sub_project(project, *targets)
108
+ targets.each do |target|
109
+ sh %{cd projects/#{project}; rake #{target.to_s}; }
110
+ end
109
111
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: mongrel
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.3.10.1
7
- date: 2006-03-12 00:00:00 -05:00
6
+ version: 0.3.11
7
+ date: 2006-03-15 00:00:00 -05:00
8
8
  summary: A small fast HTTP library and server that runs Rails, Camping, and Nitro apps.
9
9
  require_paths:
10
10
  - lib
@@ -35,137 +35,6 @@ files:
35
35
  - bin/mongrel_rails
36
36
  - bin/mongrel_rails_service
37
37
  - bin/mongrel_rails_svc
38
- - doc/rdoc/classes
39
- - doc/rdoc/created.rid
40
- - doc/rdoc/files
41
- - doc/rdoc/fr_class_index.html
42
- - doc/rdoc/fr_file_index.html
43
- - doc/rdoc/fr_method_index.html
44
- - doc/rdoc/index.html
45
- - doc/rdoc/rdoc-style.css
46
- - doc/rdoc/classes/Mongrel
47
- - doc/rdoc/classes/Mongrel.html
48
- - doc/rdoc/classes/RailsHandler.html
49
- - doc/rdoc/classes/RailsHandler.src
50
- - doc/rdoc/classes/TCPServer.html
51
- - doc/rdoc/classes/TCPServer.src
52
- - doc/rdoc/classes/Mongrel/Camping
53
- - doc/rdoc/classes/Mongrel/Camping.html
54
- - doc/rdoc/classes/Mongrel/Camping.src
55
- - doc/rdoc/classes/Mongrel/CGIWrapper.html
56
- - doc/rdoc/classes/Mongrel/CGIWrapper.src
57
- - doc/rdoc/classes/Mongrel/Command
58
- - doc/rdoc/classes/Mongrel/Command.html
59
- - doc/rdoc/classes/Mongrel/Const.html
60
- - doc/rdoc/classes/Mongrel/DirHandler.html
61
- - doc/rdoc/classes/Mongrel/DirHandler.src
62
- - doc/rdoc/classes/Mongrel/Error404Handler.html
63
- - doc/rdoc/classes/Mongrel/Error404Handler.src
64
- - doc/rdoc/classes/Mongrel/HeaderOut.html
65
- - doc/rdoc/classes/Mongrel/HeaderOut.src
66
- - doc/rdoc/classes/Mongrel/HttpHandler.html
67
- - doc/rdoc/classes/Mongrel/HttpHandler.src
68
- - doc/rdoc/classes/Mongrel/HttpParser.html
69
- - doc/rdoc/classes/Mongrel/HttpParser.src
70
- - doc/rdoc/classes/Mongrel/HttpRequest.html
71
- - doc/rdoc/classes/Mongrel/HttpRequest.src
72
- - doc/rdoc/classes/Mongrel/HttpResponse.html
73
- - doc/rdoc/classes/Mongrel/HttpResponse.src
74
- - doc/rdoc/classes/Mongrel/HttpServer.html
75
- - doc/rdoc/classes/Mongrel/HttpServer.src
76
- - doc/rdoc/classes/Mongrel/StopServer.html
77
- - doc/rdoc/classes/Mongrel/TimeoutWorker.html
78
- - doc/rdoc/classes/Mongrel/URIClassifier.html
79
- - doc/rdoc/classes/Mongrel/URIClassifier.src
80
- - doc/rdoc/classes/Mongrel/Camping/CampingHandler.html
81
- - doc/rdoc/classes/Mongrel/Camping/CampingHandler.src
82
- - doc/rdoc/classes/Mongrel/Camping/CampingHandler.src/M000020.html
83
- - doc/rdoc/classes/Mongrel/Camping/CampingHandler.src/M000021.html
84
- - doc/rdoc/classes/Mongrel/Camping.src/M000019.html
85
- - doc/rdoc/classes/Mongrel/CGIWrapper.src/M000057.html
86
- - doc/rdoc/classes/Mongrel/CGIWrapper.src/M000058.html
87
- - doc/rdoc/classes/Mongrel/CGIWrapper.src/M000059.html
88
- - doc/rdoc/classes/Mongrel/CGIWrapper.src/M000060.html
89
- - doc/rdoc/classes/Mongrel/CGIWrapper.src/M000061.html
90
- - doc/rdoc/classes/Mongrel/CGIWrapper.src/M000062.html
91
- - doc/rdoc/classes/Mongrel/CGIWrapper.src/M000063.html
92
- - doc/rdoc/classes/Mongrel/CGIWrapper.src/M000064.html
93
- - doc/rdoc/classes/Mongrel/CGIWrapper.src/M000065.html
94
- - doc/rdoc/classes/Mongrel/Command/Base.html
95
- - doc/rdoc/classes/Mongrel/Command/Base.src
96
- - doc/rdoc/classes/Mongrel/Command/Registry.html
97
- - doc/rdoc/classes/Mongrel/Command/Registry.src
98
- - doc/rdoc/classes/Mongrel/Command/Base.src/M000006.html
99
- - doc/rdoc/classes/Mongrel/Command/Base.src/M000007.html
100
- - doc/rdoc/classes/Mongrel/Command/Base.src/M000008.html
101
- - doc/rdoc/classes/Mongrel/Command/Base.src/M000009.html
102
- - doc/rdoc/classes/Mongrel/Command/Base.src/M000010.html
103
- - doc/rdoc/classes/Mongrel/Command/Base.src/M000011.html
104
- - doc/rdoc/classes/Mongrel/Command/Base.src/M000012.html
105
- - doc/rdoc/classes/Mongrel/Command/Base.src/M000013.html
106
- - doc/rdoc/classes/Mongrel/Command/Base.src/M000014.html
107
- - doc/rdoc/classes/Mongrel/Command/Base.src/M000015.html
108
- - doc/rdoc/classes/Mongrel/Command/Registry.src/M000016.html
109
- - doc/rdoc/classes/Mongrel/Command/Registry.src/M000017.html
110
- - doc/rdoc/classes/Mongrel/Command/Registry.src/M000018.html
111
- - doc/rdoc/classes/Mongrel/DirHandler.src/M000029.html
112
- - doc/rdoc/classes/Mongrel/DirHandler.src/M000030.html
113
- - doc/rdoc/classes/Mongrel/DirHandler.src/M000031.html
114
- - doc/rdoc/classes/Mongrel/DirHandler.src/M000032.html
115
- - doc/rdoc/classes/Mongrel/DirHandler.src/M000033.html
116
- - doc/rdoc/classes/Mongrel/DirHandler.src/M000034.html
117
- - doc/rdoc/classes/Mongrel/Error404Handler.src/M000066.html
118
- - doc/rdoc/classes/Mongrel/Error404Handler.src/M000067.html
119
- - doc/rdoc/classes/Mongrel/HeaderOut.src/M000041.html
120
- - doc/rdoc/classes/Mongrel/HeaderOut.src/M000042.html
121
- - doc/rdoc/classes/Mongrel/HttpHandler.src/M000043.html
122
- - doc/rdoc/classes/Mongrel/HttpParser.src/M000022.html
123
- - doc/rdoc/classes/Mongrel/HttpParser.src/M000023.html
124
- - doc/rdoc/classes/Mongrel/HttpParser.src/M000024.html
125
- - doc/rdoc/classes/Mongrel/HttpParser.src/M000025.html
126
- - doc/rdoc/classes/Mongrel/HttpParser.src/M000026.html
127
- - doc/rdoc/classes/Mongrel/HttpParser.src/M000027.html
128
- - doc/rdoc/classes/Mongrel/HttpParser.src/M000028.html
129
- - doc/rdoc/classes/Mongrel/HttpRequest.src/M000068.html
130
- - doc/rdoc/classes/Mongrel/HttpResponse.src/M000044.html
131
- - doc/rdoc/classes/Mongrel/HttpResponse.src/M000045.html
132
- - doc/rdoc/classes/Mongrel/HttpResponse.src/M000046.html
133
- - doc/rdoc/classes/Mongrel/HttpResponse.src/M000047.html
134
- - doc/rdoc/classes/Mongrel/HttpResponse.src/M000048.html
135
- - doc/rdoc/classes/Mongrel/HttpResponse.src/M000049.html
136
- - doc/rdoc/classes/Mongrel/HttpResponse.src/M000050.html
137
- - doc/rdoc/classes/Mongrel/HttpServer.src/M000035.html
138
- - doc/rdoc/classes/Mongrel/HttpServer.src/M000036.html
139
- - doc/rdoc/classes/Mongrel/HttpServer.src/M000037.html
140
- - doc/rdoc/classes/Mongrel/HttpServer.src/M000038.html
141
- - doc/rdoc/classes/Mongrel/HttpServer.src/M000039.html
142
- - doc/rdoc/classes/Mongrel/HttpServer.src/M000040.html
143
- - doc/rdoc/classes/Mongrel/URIClassifier.src/M000051.html
144
- - doc/rdoc/classes/Mongrel/URIClassifier.src/M000052.html
145
- - doc/rdoc/classes/Mongrel/URIClassifier.src/M000053.html
146
- - doc/rdoc/classes/Mongrel/URIClassifier.src/M000054.html
147
- - doc/rdoc/classes/Mongrel/URIClassifier.src/M000055.html
148
- - doc/rdoc/classes/Mongrel/URIClassifier.src/M000056.html
149
- - doc/rdoc/classes/RailsHandler.src/M000003.html
150
- - doc/rdoc/classes/RailsHandler.src/M000004.html
151
- - doc/rdoc/classes/RailsHandler.src/M000005.html
152
- - doc/rdoc/classes/TCPServer.src/M000001.html
153
- - doc/rdoc/files/COPYING.html
154
- - doc/rdoc/files/ext
155
- - doc/rdoc/files/lib
156
- - doc/rdoc/files/LICENSE.html
157
- - doc/rdoc/files/README.html
158
- - doc/rdoc/files/ext/http11
159
- - doc/rdoc/files/ext/http11/http11_c.html
160
- - doc/rdoc/files/lib/mongrel
161
- - doc/rdoc/files/lib/mongrel_rb.html
162
- - doc/rdoc/files/lib/mongrel/camping_rb.html
163
- - doc/rdoc/files/lib/mongrel/cgi_rb.html
164
- - doc/rdoc/files/lib/mongrel/command_rb.html
165
- - doc/rdoc/files/lib/mongrel/handlers_rb.html
166
- - doc/rdoc/files/lib/mongrel/init_rb.html
167
- - doc/rdoc/files/lib/mongrel/rails_rb.html
168
- - doc/rdoc/files/lib/mongrel/tcphack_rb.html
169
38
  - test/test_http11.rb
170
39
  - test/test_response.rb
171
40
  - test/test_uriclassifier.rb
@@ -230,5 +99,5 @@ dependencies:
230
99
  requirements:
231
100
  - - ">="
232
101
  - !ruby/object:Gem::Version
233
- version: "0.2"
102
+ version: 0.2.1
234
103
  version:
@@ -1,175 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Module: Mongrel</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Module</strong></td>
53
- <td class="class-name-in-header">Mongrel</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../files/lib/mongrel_rb.html">
59
- lib/mongrel.rb
60
- </a>
61
- <br />
62
- <a href="../files/lib/mongrel/camping_rb.html">
63
- lib/mongrel/camping.rb
64
- </a>
65
- <br />
66
- <a href="../files/lib/mongrel/cgi_rb.html">
67
- lib/mongrel/cgi.rb
68
- </a>
69
- <br />
70
- <a href="../files/lib/mongrel/command_rb.html">
71
- lib/mongrel/command.rb
72
- </a>
73
- <br />
74
- <a href="../files/lib/mongrel/handlers_rb.html">
75
- lib/mongrel/handlers.rb
76
- </a>
77
- <br />
78
- <a href="../files/ext/http11/http11_c.html">
79
- ext/http11/http11.c
80
- </a>
81
- <br />
82
- </td>
83
- </tr>
84
-
85
- </table>
86
- </div>
87
- <!-- banner header -->
88
-
89
- <div id="bodyContent">
90
-
91
-
92
-
93
- <div id="contextContent">
94
-
95
- <div id="description">
96
- <p>
97
- <a href="Mongrel.html">Mongrel</a> module containing all of the classes
98
- (include C extensions) for running a <a href="Mongrel.html">Mongrel</a> web
99
- server. It contains a minimalist HTTP server with just enough functionality
100
- to service web application requests fast as possible.
101
- </p>
102
-
103
- </div>
104
-
105
-
106
- </div>
107
-
108
-
109
- </div>
110
-
111
-
112
- <!-- if includes -->
113
-
114
- <div id="section">
115
-
116
- <div id="class-list">
117
- <h3 class="section-bar">Classes and Modules</h3>
118
-
119
- Module <a href="Mongrel/Camping.html" class="link">Mongrel::Camping</a><br />
120
- Module <a href="Mongrel/Command.html" class="link">Mongrel::Command</a><br />
121
- Module <a href="Mongrel/Const.html" class="link">Mongrel::Const</a><br />
122
- Class <a href="Mongrel/CGIWrapper.html" class="link">Mongrel::CGIWrapper</a><br />
123
- Class <a href="Mongrel/DirHandler.html" class="link">Mongrel::DirHandler</a><br />
124
- Class <a href="Mongrel/Error404Handler.html" class="link">Mongrel::Error404Handler</a><br />
125
- Class <a href="Mongrel/HeaderOut.html" class="link">Mongrel::HeaderOut</a><br />
126
- Class <a href="Mongrel/HttpHandler.html" class="link">Mongrel::HttpHandler</a><br />
127
- Class <a href="Mongrel/HttpParser.html" class="link">Mongrel::HttpParser</a><br />
128
- Class <a href="Mongrel/HttpRequest.html" class="link">Mongrel::HttpRequest</a><br />
129
- Class <a href="Mongrel/HttpResponse.html" class="link">Mongrel::HttpResponse</a><br />
130
- Class <a href="Mongrel/HttpServer.html" class="link">Mongrel::HttpServer</a><br />
131
- Class <a href="Mongrel/StopServer.html" class="link">Mongrel::StopServer</a><br />
132
- Class <a href="Mongrel/TimeoutWorker.html" class="link">Mongrel::TimeoutWorker</a><br />
133
- Class <a href="Mongrel/URIClassifier.html" class="link">Mongrel::URIClassifier</a><br />
134
-
135
- </div>
136
-
137
- <div id="constants-list">
138
- <h3 class="section-bar">Constants</h3>
139
-
140
- <div class="name-list">
141
- <table summary="Constants">
142
- <tr class="top-aligned-row context-row">
143
- <td class="context-item-name">HTTP_STATUS_CODES</td>
144
- <td>=</td>
145
- <td class="context-item-value">{ 100 =&gt; 'Continue', 101 =&gt; 'Switching Protocols', 200 =&gt; 'OK', 201 =&gt; 'Created', 202 =&gt; 'Accepted', 203 =&gt; 'Non-Authoritative Information', 204 =&gt; 'No Content', 205 =&gt; 'Reset Content', 206 =&gt; 'Partial Content', 300 =&gt; 'Multiple Choices', 301 =&gt; 'Moved Permanently', 302 =&gt; 'Moved Temporarily', 303 =&gt; 'See Other', 304 =&gt; 'Not Modified', 305 =&gt; 'Use Proxy', 400 =&gt; 'Bad Request', 401 =&gt; 'Unauthorized', 402 =&gt; 'Payment Required', 403 =&gt; 'Forbidden', 404 =&gt; 'Not Found', 405 =&gt; 'Method Not Allowed', 406 =&gt; 'Not Acceptable', 407 =&gt; 'Proxy Authentication Required', 408 =&gt; 'Request Time-out', 409 =&gt; 'Conflict', 410 =&gt; 'Gone', 411 =&gt; 'Length Required', 412 =&gt; 'Precondition Failed', 413 =&gt; 'Request Entity Too Large', 414 =&gt; 'Request-URI Too Large', 415 =&gt; 'Unsupported Media Type', 500 =&gt; 'Internal Server Error', 501 =&gt; 'Not Implemented', 502 =&gt; 'Bad Gateway', 503 =&gt; 'Service Unavailable', 504 =&gt; 'Gateway Time-out', 505 =&gt; 'HTTP Version not supported'</td>
146
- <td width="3em">&nbsp;</td>
147
- <td class="context-item-desc">
148
- Every standard HTTP code mapped to the appropriate message. These are used
149
- so frequently that they are placed directly in <a
150
- href="Mongrel.html">Mongrel</a> for easy access rather than <a
151
- href="Mongrel/Const.html">Mongrel::Const</a>.
152
-
153
- </td>
154
- </tr>
155
- </table>
156
- </div>
157
- </div>
158
-
159
-
160
-
161
-
162
-
163
-
164
- <!-- if method_list -->
165
-
166
-
167
- </div>
168
-
169
-
170
- <div id="validator-badges">
171
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
172
- </div>
173
-
174
- </body>
175
- </html>