Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2008 17:43:23 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        freebsd-questions@freebsd.org
Subject:   HTTP POST
Message-ID:  <20080211173958.W4493@wojtek.tensor.gdynia.pl>
In-Reply-To: <20080211171152.S4377@wojtek.tensor.gdynia.pl>
References:  <20080211171152.S4377@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
anyone could help me in implementing it properly in my program?

i have no problems with GET and HEAD. with POST i have.

page is simple form just to upload image. it has one field TYPE=file 
NAME=P and submit button.


my program gets from the browser:


all browser data etc.. hostname
POST URL HTTP/1.1
<empty line here>
P=<filename>


and that's all, no image data

when browser will put image data, or what should be replied to do this.

i have HTTP RFC, but possibly didn't RTFM right.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080211173958.W4493>