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

[REBOL] Re: HTTP header request

From: petr:krenzelok:trz:cz at: 8-Jun-2001 1:48

Hi Sterling, what about slightly better support for POST method? Maybe I am just confused or don't remember exactly what was http scheme behavior, because I used Maarten's post solution as a base. However: - we have to prepare all headers separately, deriving form 'tcp scheme http-port: open/direct [ scheme: 'tcp port-id: port-spec/port-id timeout: port-spec/timeout host: port-spec/host user: port-spec/user pass: port-spec/pass ] ... from my conversation with Scott: The problem with header is - scheme: 'tcp" - you simply derive from pure tcp port, not http one. Once I changed the line to scheme: 'http, the header WAS complete, but instead of "POST", first word used was - "GET". It seems to me that current http scheme implementation is restricting "POST" usage to usage of /custom refinement ...." I also remember some earlier ally posts, using some method of skipping/reading a part (it was specified in custom block), but it was said it will not probably become part of official http scheme implementation. How about this one? btw: if we will make some changes to http protocol, how safe we are re async http scheme which is supposed to come? Will there be many changes? Thanks, -pekr- not sure anymore, but once we use open/custom url [POST "data"]