From d1431deb4fec96d6ef4d7f7d9dfb5b9f83846525 Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Tue, 31 Aug 2021 16:11:46 +0300 Subject: [PATCH] complex http example fix --- http/httpreq.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/httpreq.st b/http/httpreq.st index 9a9dd53..2c3d163 100644 --- a/http/httpreq.st +++ b/http/httpreq.st @@ -148,7 +148,7 @@ class: HTTPRequest [ (aPath from: 1 to: 7) = 'http://' ifTrue: [ "we have a host here" (p := (aPath := aPath from: 8) indexOf: '/') ifNil: [ - reqHost := aPath + reqHost := aPath. aPath := '/'. ] ifNotNil: [ reqHost := aPath from: 1 to: p - 1. -- 2.11.4.GIT