New modules.
WrenCI / linux (push) Waiting to run
WrenCI / mac (push) Waiting to run
WrenCI / windows (push) Waiting to run

This commit is contained in:
2026-01-24 19:35:43 +01:00
parent 1a08b3adf0
commit 236d69c2d7
118 changed files with 315687 additions and 6 deletions
+19
View File
@@ -0,0 +1,19 @@
// retoor <retoor@molodetz.nl>
import "http" for Url, Http, HttpResponse
var url1 = Url.parse("http://example.com/path")
System.print(url1.scheme) // expect: http
System.print(url1.host) // expect: example.com
System.print(url1.port) // expect: 80
System.print(url1.path) // expect: /path
var url2 = Url.parse("http://example.com:8080/test?foo=bar")
System.print(url2.port) // expect: 8080
System.print(url2.path) // expect: /test
System.print(url2.query) // expect: foo=bar
System.print(url2.fullPath) // expect: /test?foo=bar
var url3 = Url.parse("http://localhost/")
System.print(url3.host) // expect: localhost
System.print(url3.path) // expect: /