File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -275,9 +275,10 @@ do-request: func [
275
275
info/headers: info/response-line: info/response-parsed: port/data:
276
276
info/size: info/date: info/name: none
277
277
278
- ;sys/log/info 'HTTP ["Request:^[[22m" spec/method spec/host spec/path]
278
+ ;sys/log/info 'HTTP ["Request:^[[22m" spec/method spec/host mold spec/path]
279
279
280
- write port/state/connection make-http-request spec/method enhex as file! any [spec/path %/ ] spec/headers spec/content
280
+ ;write port/state/connection make-http-request spec/method enhex as file! any [spec/path %/] spec/headers spec/content
281
+ write port/state/connection make-http-request spec/method any [spec/path %/ ] spec/headers spec/content
281
282
]
282
283
parse-write-dialect : func [ port block /local spec] [
283
284
spec: port/spec
@@ -477,7 +478,7 @@ do-redirect: func [port [port!] new-uri [url! string! file!] /local spec state h
477
478
state: port/state
478
479
port/data: none
479
480
480
- new-uri: as url! new-uri
481
+ ; new-uri: as url! new-uri
481
482
482
483
sys/log/info 'HTTP ["Redirect to:^[ [m" mold new-uri]
483
484
@@ -501,7 +502,7 @@ do-redirect: func [port [port!] new-uri [url! string! file!] /local spec state h
501
502
unless select new-uri 'port-id [
502
503
switch new-uri/scheme [
503
504
'https [append new-uri [port-id: 443 ]]
504
- 'http [append new-uri [port-id: 80 ]]
505
+ 'http [append new-uri [port-id: 80 ]]
505
506
]
506
507
]
507
508
new-uri: construct /with new-uri port/scheme/spec
Original file line number Diff line number Diff line change @@ -1794,7 +1794,7 @@ TLS-awake: function [event [event!]][
1794
1794
]
1795
1795
TLS-port/data: TLS-port/state/port-data
1796
1796
binary/init TLS-port/state/in none ; resets input buffer
1797
- ?? TLS-port/state/protocol
1797
+ ; ?? TLS-port/state/protocol
1798
1798
either 'APPLICATION = TLS-port/state/protocol [
1799
1799
;print "------------------"
1800
1800
;- report that we have data to higher layer
You can’t perform that action at this time.
0 commit comments