Re: Using POST to send bitmap image with Java



Dave Miller wrote:
Lew wrote:
s0suk3@xxxxxxxxx wrote:
On May 30, 6:44 pm, Arne Vajhøj <a...@xxxxxxxxxx> wrote:
Not all web servers support or is configured to allow PUT,
while POST is supported by all web servers.

Not necessarily. An HTTP compliant server is only required to
implement GET and HEAD; all other methods are optional.

Example from the real world?

Apache - POST, DELETE and PUT all require handlers. The below is an old article but, AFAIK, the server hasn't changed as of 2.2 (If you know different, please post reference - I'd like to know how to implement.)

http://www.apacheweek.com/features/put

That article is pretty bad.

#In fact, Apache handles PUT exactly like it handles the POST method.
#That is, it supports it, but in order for it to do anything useful you
#need to supply a suitable CGI program. This is on contrast to the GET
#method, which Apache supports internally by sending back files or SSI
#documents.

is not a very accurate description.

GET and POST are identical:
* the browser specify what script to run
* no special configuration of method is needed
(the only difference is that GET is good for both static and
dynamic resources while POST is only good for dynamic
resources)

PUT requires special configuration in the server and the
script is specified there - not by the browser.

Arne
.



Relevant Pages

  • Re: apache question
    ... # Based upon the NCSA server configuration files originally by Rob McCool. ... # configuration directives that give the server its instructions. ... Directives that control the operation of the Apache server process as ...
    (alt.php)
  • Re: Apache and SSL
    ... # Based upon the NCSA server configuration files originally by Rob McCool. ... # This is the main Apache server configuration file. ... # configuration directives that give the server its instructions. ...
    (RedHat)
  • Re: Apache vs IIS
    ... Windows Server not on my Linux Server so there for I would chose IIS. ... Not that Apache is bad but ASP.NET is far easier and faster to create good web forms in. ... PHP on a IIS server is rather easy to run once you install PHP on a PC but if you only use PHP why not use Apache for Windows. ...
    (alt.php)
  • Re: HTTP servers on z/OS
    ... developed by the Apache Software Foundation. ... Also know as IHS ... "...the current IBM HTTP Server for z/OS and IHS for z/OS Powered by Apache, ...
    (bit.listserv.ibm-main)
  • Re: webalizer
    ... I'm trying to get webalizer and apache working together. ... # Based upon the NCSA server configuration files originally by Rob McCool. ... # configuration directives that give the server its instructions. ...
    (freebsd-questions)