edicl / drakma

HTTP client written in Common Lisp
http://edicl.github.io/drakma/
249 stars 59 forks source link

Fix #'HEADER-VALUE to support strings #144

Closed adlai closed 2 weeks ago

adlai commented 2 weeks ago

Recent commits to Chunga have modified the interning behavior, to prevent a memory leak when servers use pseudorandom names for response headers (see #140 and edicl/chunga#11).

This commit updates the matching behavior to support unknown headers provided as strings. It does not support matching keywords against strings, nor vice versa; it could be a flexibility improvement to support that, for use when interactively discovering the set of desired headers for interning.

adlai commented 1 week ago

Please also merge edicl/chunga#12 ! these are bugs in the same stack.