Changeset 27717 in project for wiki/eggref/4/intarweb


Ignore:
Timestamp:
10/27/12 15:13:13 (9 years ago)
Author:
sjamaan
Message:

Update intarweb docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/intarweb

    r27253 r27717  
    4444that defines the HTTP method to use (case sensitive). MAJOR and MINOR
    4545identify the major and minor version of HTTP to use. Currently, 0.9,
    46 1.0 and 1.1 are supported (but be careful with 0.9, it has some weird
    47 consequences and is not widely supported). HEADERS must be a headers
    48 object.
     461.0 and 1.1 are supported.  HTTP/0.9 support is disabled by default for
     47security reasons (HTTP/0.9 has nothing to identify it as HTTP, which
     48means it cannot be distinguished from any completely different service.
     49This can cause HTML interpretation of, say, SMTP or FTP responses which
     50might contain attacker-supplied data).
     51
     52HEADERS must be a headers object.  See below for more information about
     53headers.
    4954
    5055<procedure>(update-request old-request #!key uri port method major minor headers)</procedure>
     
    109114
    110115* {{http-0.9-request-unparser}}
     116* {{http-1.0-request-unparser}}
    111117* {{http-1.x-request-unparser}}
    112118
    113119<procedure>(http-0.9-request-unparser REQUEST) => REQUEST</procedure><br>
     120<procedure>(http-1.0-request-unparser REQUEST) => REQUEST</procedure><br>
    114121<procedure>(http-1.x-request-unparser REQUEST) => REQUEST</procedure><br>
    115122
     
    260267
    261268* {{http-0.9-response-parser}}
     269* {{http-1.0-response-parser}}
    262270* {{http-1.x-response-parser}}
    263271
    264272<procedure>(http-0.9-response-parser REQUEST) => REQUEST</procedure><br>
     273<procedure>(http-1.0-response-parser REQUEST) => REQUEST</procedure><br>
    265274<procedure>(http-1.x-response-parser REQUEST) => REQUEST</procedure><br>
    266275
     
    280289
    281290* {{http-0.9-response-unparser}}
     291* {{http-1.0-response-unparser}}
    282292* {{http-1.x-response-unparser}}
    283293
    284294<procedure>(http-0.9-response-unparser REQUEST) => REQUEST</procedure><br>
     295<procedure>(http-1.0-response-unparser REQUEST) => REQUEST</procedure><br>
    285296<procedure>(http-1.x-response-unparser REQUEST) => REQUEST</procedure><br>
    286297
     
    9911002=== Changelog
    9921003
     1004* trunk Disable HTTP/0.9 support for security reasons.  Write request and response initial line in one burst, to prevent problems with network output.
    9931005* 0.8 Treat the charset attribute for Content-Type header as case-insensitive token for consistency with Accept-Charset header.  Remove dependency on the [[/eggref/4/regex|regex egg]] and improve correctness of a few parsers.  Add {{request-has-message-body?}} and {{response-has-message-body-for-request?}} procedures.  Add parser for Content-Disposition header and improve unparser by adding date support (Thanks to Evan Hanson).  Implement line length and header count limit checking.  Add {{read-urlencoded-request-data}} with built-in limit check.
    9941006* 0.7 Add trivial {{x-forwarded-for}} "parser".  Add easier overriding of {{authorization}} headers through parameter instead of having to rewrite the entire parser.  Add {{content-disposition}} unparser to accommodate the fact that filenames ''must'' always be quoted.  Add {{http-status-codes}} parameter and {{status:}} key to {{update-response}} and {{make-response}} procedures, as well as {{response-status}} and {{response-status-set!}} procedures.
Note: See TracChangeset for help on using the changeset viewer.