src/Pure/General/http.scala
changeset 73430 c7f14309e291
parent 73429 8970081c6500
child 73438 69d449f0ca04
--- a/src/Pure/General/http.scala	Sun Mar 14 13:09:17 2021 +0100
+++ b/src/Pure/General/http.scala	Sun Mar 14 13:21:59 2021 +0100
@@ -30,8 +30,8 @@
     encoding: String = default_encoding,
     elapsed_time: Time = Time.zero)
   {
-    def text: String = new String(bytes.array, encoding)
-    def text_lines: List[String] = Library.trim_split_lines(text)
+    def string: String = new String(bytes.array, encoding)
+    def trim_split_lines: List[String] = Library.trim_split_lines(string)
   }
 
   def read_content(file: JFile): Content =