only display the (unparsed) accept string if we are printing
the root node
(setf first nil))))
tree)))))
(defmethod print-object ((o accept-node) s)
- (pprint-logical-block (s nil)
- (print-unreadable-object (o s :type t)
- (print-accept-tree o s))))
+ (if (accept-node-name o)
+ (call-next-method)
+ (pprint-logical-block (s nil)
+ (print-unreadable-object (o s :type t)
+ (print-accept-tree o s)))))
(defun q (media-type accept-tree)
(let* ((pos (position #\/ media-type))