Changeset 12456 in project


Ignore:
Timestamp:
11/10/08 23:52:46 (13 years ago)
Author:
sjamaan
Message:

Fix bug in te-parser and pragma-parser (untested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/intarweb/trunk/header-parsers.scm

    r12455 r12456  
    284284;; This too
    285285(define (pragma-parser name value headers)
    286   (update-header-contents! name (parse-parameters value 0 `()) headers))
     286  (update-header-contents! name (list (vector (parse-parameters value 0 `()) '())) headers))
    287287
    288288;; This one includes q parser
    289289(define (te-parser name value headers)
    290   (update-header-contents! name (parse-parameters value 0 `((q . ,quality-parser))) headers))
     290  (update-header-contents! name (list (vector (parse-parameters value 0 `((q . ,quality-parser))) '())) headers))
    291291
    292292;; Cookie headers are also braindead: there can be several cookies in one header,
Note: See TracChangeset for help on using the changeset viewer.