Merge branch 'inference-bug'

# Conflicts:
#	lyngio/src/commonMain/kotlin/net/sergeych/lyng/io/http/LyngHttpModule.kt
This commit is contained in:
sergeych committed 2026-04-02 20:06:11 +03:00
commit 9bee0aed5b
15 files changed
+117 -15

No files matched your search

@@ -332,7 +332,9 @@ private class ObjHttpResponse(
fun from(response: LyngHttpResponse): ObjHttpResponse {
val single = linkedMapOf<String, String>()
response.headers.forEach { (name, values) ->
if (values.isNotEmpty() && name !in single) single[name] = values.first()
if (values.isNotEmpty() && !single.containsKey(name)) {
single[name] = values.first()
}
}
return ObjHttpResponse(
status = response.status.toLong(),