dakrone / clj-http

An idiomatic clojure http client wrapping the apache client. Officially supported version.
http://clojars.org/clj-http
MIT License
1.77k stars 408 forks source link

Avoid a NPE when the charset in a content type is empty #640

Closed msprunck closed 4 months ago

msprunck commented 9 months ago

Prevents NullPointerException thrown by util/parse-content-type when the charset specified in a content type is empty.

Example: Content-Type: text/html;charset=

dakrone commented 4 months ago

Merged, thanks!