This is the cl-mimeparse Reference Manual, version 0.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 05:09:33 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-mimeparse
Library for parsing MIME types, in the spirit of http://code.google.com/p/mimeparse/, with a Common Lisp flavor.
Nathan Froyd <froydnj@gmail.com>
MIT
0.0.1
cl-ppcre
(system).
parse-number
(system).
package.lisp
(file).
mimeparse.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-mimeparse/mimeparse.lisp
package.lisp
(file).
cl-mimeparse
(system).
best-match
(function).
initialize-instance
(method).
media-range
(class).
parse-media-range
(function).
print-object
(method).
quality
(generic function).
fitness-and-quality-parsed
(function).
getparam
(function).
media-params
(reader method).
(setf media-params)
(writer method).
media-subtype
(reader method).
media-type
(reader method).
split-accept-header
(function).
strip
(function).
Packages are listed by definition order.
mimeparse
common-lisp
.
best-match
(function).
media-range
(class).
parse-media-range
(function).
quality
(generic function).
fitness-and-quality-parsed
(function).
getparam
(function).
media-params
(generic reader).
(setf media-params)
(generic writer).
media-subtype
(generic reader).
media-type
(generic reader).
split-accept-header
(function).
strip
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Return the best match for all media-ranges in HEADER. SUPPORTED is a list of supported MIME types. The value of HEADER must be a string that conforms to the format of the HTTP Accept: header.
Parses MEDIA-RANGE-STRING and returns a media-range object. The returned media-range always has a value for the ‘q’ parameter; a proper default is suppplied if one is not provided in MEDIA-RANGE-STRING.
Returns the quality ‘q’ of MIME-TYPE when compared
against the media-ranges in RANGES. RANGES can be either a list or a
string. If RANGES is a list, it should be a list of media-ranges as
returned by PARSE-MEDIA-RANGE. If RANGES is a string, it should be a
string that conforms to the format of the HTTP Accept: header.
media-range
) &rest initargs &key type subtype params &allow-other-keys) ¶media-range
) stream) ¶Find the best match for MIME-TYPE against PARSED-RANGES, which is a list of media-ranges that have already been parsed as if by PARSE-MEDIA-RANGE. Returns two values: the fitness value and the value of the ‘q’ quality parameter of the best match. -1 and 0 are returned if no match was found.
media-range
)) ¶automatically generated reader method
media-range
)) ¶automatically generated writer method
media-range
)) ¶automatically generated reader method
media-range
)) ¶automatically generated reader method
type
.
Jump to: | (
B F G I M P Q S |
---|
Jump to: | (
B F G I M P Q S |
---|
Jump to: | P S T |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
P | |||
params : | Public classes | ||
| |||
S | |||
Slot, params : | Public classes | ||
Slot, subtype : | Public classes | ||
Slot, type : | Public classes | ||
subtype : | Public classes | ||
| |||
T | |||
type : | Public classes | ||
|
Jump to: | P S T |
---|
Jump to: | C F M P S |
---|
Jump to: | C F M P S |
---|