[gforth] / gforth / proxy.fs  

gforth: gforth/proxy.fs

Diff for /gforth/proxy.fs between version 1.2 and 1.3

version 1.2, Sun Nov 19 22:45:38 2000 UTC version 1.3, Sun Nov 19 22:47:54 2000 UTC
Line 27 
Line 27 
   
 : request ( host u request u proxy-host u port -- fid )  : request ( host u request u proxy-host u port -- fid )
     open-socket >r      open-socket >r
     2dup type ."  HTTP/1.1" cr  
     r@ write-file throw s"  HTTP/1.1" r@ writeln      r@ write-file throw s"  HTTP/1.1" r@ writeln
     s" Host: " r@ write-file throw r@ writeln      s" Host: " r@ write-file throw r@ writeln
     ." Connection: close" cr  
     s" Connection: close" r@ writeln      s" Connection: close" r@ writeln
     s" User-Agent: " r@ write-file throw      s" User-Agent: " r@ write-file throw
     User-Agent @ IF      User-Agent @ IF


Generate output suitable for use with a patch program
Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help