Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] read/custom and HTTP HEAD behaviour

From: jmalv:ho:tmail at: 15-Feb-2002 9:42

I am trying to query a URL with HTTP HEAD but I get the full HTTP GET instead print read/custom http://www.yahoo.com reduce ['HEAD ] or response: copy "" port: open tcp://www.yahoo.com:80 insert port rejoin [ "GET" newline "host:www.yahoo.com" newline "connection: close" newline newline ] while [ res: copy port ] [][ append response res ] close port How can I just get the HTTP HEAD without the full page ? Thanks