We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b7e8b8 commit 0e9d145Copy full SHA for 0e9d145
src/mezz/prot-http.reb
@@ -11,8 +11,8 @@ REBOL [
11
}
12
Name: 'http
13
Type: 'module
14
- Version: 0.3.4
15
- Date: 25-Feb-2020
+ Version: 0.3.5
+ Date: 26-Oct-2020
16
File: %prot-http.r
17
Purpose: {
18
This program defines the HTTP protocol scheme for REBOL 3.
@@ -496,6 +496,7 @@ do-redirect: func [port [port!] new-uri [url! string! file!] /local spec state h
496
new-uri: as url! ajoin [spec/scheme "://" spec/host #":" spec/port-id new-uri]
497
]
498
new-uri: decode-url new-uri
499
+ spec/headers/host: new-uri/host
500
501
unless select new-uri 'port-id [
502
switch new-uri/scheme [
0 commit comments