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

[REBOL] Re: am I losing it with webserv.r?

From: andreas::bolka::gmx::net at: 10-Jun-2005 1:44

Wednesday, June 8, 2005, 11:49:46 PM, Eric wrote:
> Ammon has been helping me as much as possible and so has Cal Dixon > but I have to know... Is anyone using webserv.r with Vanilla 0.6 and > successfully getting files uploaded? This mostly boils down to me > not being able to get any POST http data to work with webserv but > Vanilla is standard enough that I figure that if it is not working > with webserv, then maybe it's not just my scripts.
using webserv.r 0.0.0.15 which i downloaded just this very moment from the script library, it seems that POST's get not handled very well. i use a very simple upload.cgi: REBOL [] print "Content-type: text/plain^/" print "hello world!" probe system/options/cgi and an even simpler upload.html: <form enctype="multipart/form-data" action="upload.cgi" method="POST"> <input type="file" name="nuf" /> <input type="submit" /> </form> when i submit something via this form, i see an entry in the log: 127.0.0.1 - - [10/Jun/2005:1:35:37+2:00] "POST /upload.cgi HTTP/1.1" 200 1272 ... but my browser responds with "this document contains no data". so it seems something within webserv.r does not handle POSTs very well. sorry, i'm currently in a kind of hurry, so i might have made a very trivial mistake here. if not, something very fundamental seems to be bugged. -- Best regards, Andreas