1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643
|
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>File: RDOX</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
<script type="text/javascript">
// <![CDATA[
function popupCode( url ) {
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
}
function toggleCode( id ) {
if ( document.getElementById )
elem = document.getElementById( id );
else if ( document.all )
elem = eval( "document.all." + id );
else
return false;
elemStyle = elem.style;
if ( elemStyle.display != "block" ) {
elemStyle.display = "block"
} else {
elemStyle.display = "none"
}
return true;
}
// Make codeblocks hidden by default
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
// ]]>
</script>
</head>
<body>
<div id="fileHeader">
<h1>RDOX</h1>
<table class="header-table">
<tr class="top-aligned-row">
<td><strong>Path:</strong></td>
<td>RDOX
</td>
</tr>
<tr class="top-aligned-row">
<td><strong>Last Update:</strong></td>
<td>Tue Feb 26 13:30:09 +0100 2008</td>
</tr>
</table>
</div>
<!-- banner header -->
<div id="bodyContent">
<div id="contextContent">
<div id="description">
<h2><a href="../classes/Rack/Auth/Basic.html">Rack::Auth::Basic</a></h2>
<ul>
<li>should challenge correctly when no credentials are specified
</li>
<li>should rechallenge if incorrect credentials are specified
</li>
<li>should return application output if correct credentials are specified
</li>
<li>should return 400 Bad Request if different auth scheme used
</li>
</ul>
<h2>Rack::Auth::Digest::MD5</h2>
<ul>
<li>should challenge when no credentials are specified
</li>
<li>should return application output if correct credentials given
</li>
<li>should return application output if correct credentials given (hashed
passwords)
</li>
<li>should rechallenge if incorrect username given
</li>
<li>should rechallenge if incorrect password given
</li>
<li>should rechallenge with stale parameter if nonce is stale
</li>
<li>should return 400 Bad Request if incorrect qop given
</li>
<li>should return 400 Bad Request if incorrect uri given
</li>
<li>should return 400 Bad Request if different auth scheme used
</li>
</ul>
<h2><a href="../classes/Rack/Builder.html">Rack::Builder</a></h2>
<ul>
<li>chains apps by default
</li>
<li>has implicit to_app
</li>
<li>supports blocks on use
</li>
</ul>
<h2><a href="../classes/Rack/Adapter/Camping.html">Rack::Adapter::Camping</a></h2>
<ul>
<li>works with GET
</li>
<li>works with POST
</li>
</ul>
<h2><a href="../classes/Rack/Cascade.html">Rack::Cascade</a></h2>
<ul>
<li>should dispatch onward on 404 by default
</li>
<li>should dispatch onward on whatever is passed
</li>
<li>should fail if empty
</li>
</ul>
<h2><a href="../classes/Rack/Handler/CGI.html">Rack::Handler::CGI</a></h2>
<ul>
<li>startup (empty)
</li>
<li>should respond
</li>
<li>should be a lighttpd
</li>
<li>should have rack headers
</li>
<li>should have CGI headers on GET
</li>
<li>should have CGI headers on POST
</li>
<li>should support HTTP auth
</li>
<li>should set status
</li>
<li>shutdown
</li>
</ul>
<h2><a href="../classes/Rack/CommonLogger.html">Rack::CommonLogger</a></h2>
<ul>
<li>should log to rack.errors by default
</li>
<li>should log to anything with <<
</li>
</ul>
<h2><a href="../classes/Rack/Handler/FastCGI.html">Rack::Handler::FastCGI</a></h2>
<ul>
<li>startup (empty)
</li>
<li>should respond
</li>
<li>should be a lighttpd
</li>
<li>should have rack headers
</li>
<li>should have CGI headers on GET
</li>
<li>should have CGI headers on POST
</li>
<li>should support HTTP auth
</li>
<li>should set status
</li>
<li>shutdown
</li>
</ul>
<h2><a href="../classes/Rack/File.html">Rack::File</a></h2>
<ul>
<li>serves files
</li>
<li>serves files with URL encoded filenames
</li>
<li>does not allow directory traversal
</li>
<li>404s if it can‘t find the file
</li>
</ul>
<h2><a href="../classes/Rack/Lint.html">Rack::Lint</a></h2>
<ul>
<li>passes valid request
</li>
<li>notices fatal errors
</li>
<li>notices environment errors
</li>
<li>notices input errors
</li>
<li>notices error errors
</li>
<li>notices status errors
</li>
<li>notices header errors
</li>
<li>notices content-type errors
</li>
<li>notices body errors
</li>
<li>notices input handling errors
</li>
<li>notices error handling errors
</li>
</ul>
<h2>Rack::Lobster::LambdaLobster</h2>
<ul>
<li>should be a single lambda
</li>
<li>should look like a lobster
</li>
<li>should be flippable
</li>
</ul>
<h2><a href="../classes/Rack/Lobster.html">Rack::Lobster</a></h2>
<ul>
<li>should look like a lobster
</li>
<li>should be flippable
</li>
<li>should provide crashing for testing purposes
</li>
</ul>
<h2><a href="../classes/Rack/MockRequest.html">Rack::MockRequest</a></h2>
<ul>
<li>should return a MockResponse
</li>
<li>should be able to only return the environment
</li>
<li>should provide sensible defaults
</li>
<li>should allow GET/POST/PUT/DELETE
</li>
<li>should allow posting
</li>
<li>should use all parts of an URL
</li>
<li>should behave valid according to the <a
href="../classes/Rack.html">Rack</a> spec
</li>
</ul>
<h2><a href="../classes/Rack/MockResponse.html">Rack::MockResponse</a></h2>
<ul>
<li>should provide access to the HTTP status
</li>
<li>should provide access to the HTTP headers
</li>
<li>should provide access to the HTTP body
</li>
<li>should provide access to the <a href="../classes/Rack.html">Rack</a> errors
</li>
<li>should optionally make <a href="../classes/Rack.html">Rack</a> errors fatal
</li>
</ul>
<h2><a href="../classes/Rack/Handler/Mongrel.html">Rack::Handler::Mongrel</a></h2>
<ul>
<li>should respond
</li>
<li>should be a Mongrel
</li>
<li>should have rack headers
</li>
<li>should have CGI headers on GET
</li>
<li>should have CGI headers on POST
</li>
<li>should support HTTP auth
</li>
<li>should set status
</li>
<li>should provide a .run
</li>
</ul>
<h2><a href="../classes/Rack/Recursive.html">Rack::Recursive</a></h2>
<ul>
<li>should allow for subrequests
</li>
<li>should raise error on requests not below the app
</li>
<li>should support forwarding
</li>
</ul>
<h2><a href="../classes/Rack/Request.html">Rack::Request</a></h2>
<ul>
<li>wraps the rack variables
</li>
<li>can figure out the correct host
</li>
<li>can parse the query string
</li>
<li>can parse POST data
</li>
<li>can get value by key from params with #[]
</li>
<li>can set value to key on params with #[]=
</li>
<li>values_at answers values by keys in order given
</li>
<li>referrer should be extracted correct
</li>
<li>can cache, but invalidates the cache
</li>
<li>can figure out if called via XHR
</li>
<li>can parse cookies
</li>
<li>parses cookies according to RFC 2109
</li>
<li>provides setters
</li>
<li>provides the original env
</li>
<li>can restore the URL
</li>
<li>can restore the full path
</li>
<li>can parse multipart form data
</li>
<li>can parse big multipart form data
</li>
<li>can detect invalid multipart form data
</li>
<li>does conform to the <a href="../classes/Rack.html">Rack</a> spec
</li>
</ul>
<h2><a href="../classes/Rack/Response.html">Rack::Response</a></h2>
<ul>
<li>has sensible default values
</li>
<li>can be written to
</li>
<li>can set and read headers
</li>
<li>can set cookies
</li>
<li>formats the Cookie expiration date accordingly to RFC 2109
</li>
<li>can delete cookies
</li>
<li>has a useful constructor
</li>
<li>has a constructor that can take a block
</li>
<li>doesn‘t return invalid responses
</li>
<li>knows if it‘s empty
</li>
<li>should provide access to the HTTP status
</li>
<li>should provide access to the HTTP headers
</li>
</ul>
<h2><a href="../classes/Rack/Session/Cookie.html">Rack::Session::Cookie</a></h2>
<ul>
<li>creates a new cookie
</li>
<li>loads from a cookie
</li>
<li>survives broken cookies
</li>
<li>barks on too big cookies
</li>
</ul>
<h2><a href="../classes/Rack/Session/Pool.html">Rack::Session::Pool</a></h2>
<ul>
<li>creates a new cookie
</li>
<li>loads from a cookie
</li>
<li>survives broken cookies
</li>
</ul>
<h2><a href="../classes/Rack/ShowExceptions.html">Rack::ShowExceptions</a></h2>
<ul>
<li>catches exceptions
</li>
</ul>
<h2><a href="../classes/Rack/ShowStatus.html">Rack::ShowStatus</a></h2>
<ul>
<li>should provide a default status message
</li>
<li>should let the app provide additional information
</li>
<li>should not replace existing messages
</li>
<li>should pass on original headers
</li>
<li>should replace existing messages if there is detail
</li>
</ul>
<h2><a href="../classes/Rack/Static.html">Rack::Static</a></h2>
<ul>
<li>serves files
</li>
<li>404s if url root is known but it can‘t find the file
</li>
<li>calls down the chain if url root is not known
</li>
</ul>
<h2><a href="../classes/Rack/URLMap.html">Rack::URLMap</a></h2>
<ul>
<li>dispatches paths correctly
</li>
<li>dispatches hosts correctly
</li>
<li>should be nestable
</li>
<li>should route root apps correctly
</li>
</ul>
<h2><a href="../classes/Rack/Utils.html">Rack::Utils</a></h2>
<ul>
<li>should escape correctly
</li>
<li>should unescape correctly
</li>
<li>should parse queries correctly
</li>
</ul>
<h2><a href="../classes/Rack/Utils/HeaderHash.html">Rack::Utils::HeaderHash</a></h2>
<ul>
<li>should capitalize on all accesses
</li>
<li>should capitalize correctly
</li>
<li>should be converted to real Hash
</li>
</ul>
<h2><a href="../classes/Rack/Handler/WEBrick.html">Rack::Handler::WEBrick</a></h2>
<ul>
<li>should respond
</li>
<li>should be a WEBrick
</li>
<li>should have rack headers
</li>
<li>should have CGI headers on GET
</li>
<li>should have CGI headers on POST
</li>
<li>should support HTTP auth
</li>
<li>should set status
</li>
<li>should provide a .run
</li>
</ul>
<p>
151 specifications, 2 empty (598 requirements), 0 failures
</p>
</div>
</div>
</div>
<!-- if includes -->
<div id="section">
<!-- if method_list -->
</div>
<div id="validator-badges">
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>
</body>
</html>
|