The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
docs(android): each tile store comment sits over the code it describes
Maurice44618999107c
diff --git a/client/android/app/src/main/java/com/liketrek/trek/tiles/TrekTileStore.kt b/client/android/app/src/main/java/com/liketrek/trek/tiles/TrekTileStore.ktindex 54cc837d8..7dbea3db6 100644--- a/client/android/app/src/main/java/com/liketrek/trek/tiles/TrekTileStore.kt+++ b/client/android/app/src/main/java/com/liketrek/trek/tiles/TrekTileStore.kt@@ -100,13 +100,13 @@ object TrekTileStore {return null}- /** HttpURLConnection has already undone any gzip, so no Content-Encoding goes along. *//** Headers that are the request's own; the connection sets the hop-by-hop ones itself. */private val HOP_BY_HOP = setOf("connection", "keep-alive", "transfer-encoding", "te", "upgrade", "host", "content-length", "accept-encoding")internal fun forwardedHeaders(headers: Map<String, String>?): Map<String, String> =headers.orEmpty().filterKeys { it.lowercase() !in HOP_BY_HOP }+ /** HttpURLConnection has already undone any gzip, so no Content-Encoding goes along. */private fun response(bytes: ByteArray, type: String): WebResourceResponse {val mime = type.substringBefore(';').trim()val charset = Regex("charset=([^;]+)").find(type)?.groupValues?.get(1)