http.client, don't write the anchor in the request line

locals-and-roots
Jon Harper 2016-03-04 13:37:21 +01:00 committed by John Benediktsson
parent 4ad5071b70
commit 2bf3eb3919
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ ERROR: too-many-redirects ;
: write-request-line ( request -- request )
dup
[ method>> write bl ]
[ url>> relative-url present write bl ]
[ url>> relative-url f >>anchor present write bl ]
[ "HTTP/" write version>> write crlf ]
tri ;