HttpURI.st
changeset 4722 fe159f4a0668
parent 2870 6eef483653e5
child 4879 d6b8308d7c51
--- a/HttpURI.st	Tue Aug 28 09:06:13 2018 +0200
+++ b/HttpURI.st	Tue Aug 28 09:06:25 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 2002 by eXept Software AG
               All Rights Reserved
@@ -11,6 +13,8 @@
 "
 "{ Package: 'stx:libbasic2' }"
 
+"{ NameSpace: Smalltalk }"
+
 HierarchicalURI subclass:#HttpURI
 	instanceVariableNames:''
 	classVariableNames:''
@@ -61,13 +65,16 @@
                     accept:#('*/*')  
                     fromDocument:nil.
 
-    response isErrorResponse 
-        ifTrue:[ self error: response responseText ].
+    response isErrorResponse ifTrue:[ 
+        self error: response responseText 
+    ].
     ^ response data
 
     "
      'http://www.puzzlers.org/pub/wordlists/unixdict.txt' asURI contents
     "
+
+    "Modified (format): / 28-08-2018 / 09:01:16 / Claus Gittinger"
 !
 
 readStreamDo:aBlock
@@ -112,6 +119,6 @@
 !HttpURI class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/HttpURI.st,v 1.6 2013-01-20 15:22:18 cg Exp $'
+    ^ '$Header$'
 ! !