Changeset 27103 in project


Ignore:
Timestamp:
07/21/12 19:26:19 (7 years ago)
Author:
sjamaan
Message:

Update intarweb with new http-line-limit and http-header-limit parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/intarweb

    r26948 r27103  
    838838=== Other procedures
    839839
     840<parameter>(http-line-limit [length])</parameter>
     841
     842The maximum length of any line that's read by intarweb as part of the
     843request/response cycle.  This includes the request and response lines
     844as well as the headers.  If this is exceeded, an exception of type
     845{{(exn http line-limit-exceeded)}} is raised.
     846
     847You can set this to {{#f}} to disable this check, but do so at your own risk :)
     848
     849Defaults to {{1024}}.
     850
     851<parameter>(http-header-limit [count])</parameter>
     852
     853The maximum number of headers that are allowed to be sent, as part
     854of a request or response. If this is exceeded, an exception of type
     855{{(exn http header-limit-exceeded)}} is raised.
     856
     857You can set this to {{#f}} to disable this check, but do so at your own risk :)
     858
     859Defaults to {{256}}.
     860
    840861<procedure>(keep-alive? request-or-response)</procedure>
    841862
     
    937958=== Changelog
    938959
    939 * trunk 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).
     960* trunk 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.
    940961* 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.
    941962* 0.6 Change path parameters on cookies to be uri-common objects
Note: See TracChangeset for help on using the changeset viewer.