Re: Using POST to send bitmap image with Java
- From: Dave Miller <nonregistered@xxxxxxxxxxxx>
- Date: Sat, 31 May 2008 21:09:45 GMT
Lew wrote:
Dave Miller wrote:Not to go Bill Clinton here, but it depends on what your definition of "implement" is.You're right, we are saying the same thing - they won't reject a POST but without a handler they won't do anything with it either. In the case of Apache, it seems to get treated as a GET. (Just for sport I just tried to POST to an html page and got the page itself returned.)
So Apache *does* implement POST. It's the non-existent script that is failing, not Apache Web Server. Adding that script is no change to Apache.
Leaving open the question - are there any real-world web servers that do not implement POST?
Unless set to reject them, all 1.1 http servers will not reject any 1.1 method (POST, PUT, DELETE, etc.) within the request. The question is "what next".
In the case of GET, it returns the content of the target page if it exists. In the case of all other methods, the server passes the request onto the designated handler, treats the request as a GET or returns a not found error.
Long story short, a successful GET request can be made using only the web server. For all other methods, POST and PUT included, a request can not succeed unless a handler has been added to the web server. If the handler properly exists, the web server passes the request and response between the handler and client.
If the last two sentences above meets your definition of "implement", the answer to your original question is "all 1.1 http servers implement all 1.1 methods POST and PUT included".
--
Dave Miller
Java Web Hosting at:
http://www.cheap-jsp-hosting.com/
.
- References:
- Using POST to send bitmap image with Java
- From: Dexter
- Re: Using POST to send bitmap image with Java
- From: Dave Miller
- Re: Using POST to send bitmap image with Java
- From: Kenneth P. Turvey
- Re: Using POST to send bitmap image with Java
- From: Arne Vajhøj
- Re: Using POST to send bitmap image with Java
- From: s0suk3
- Re: Using POST to send bitmap image with Java
- From: Arne Vajhøj
- Re: Using POST to send bitmap image with Java
- From: Dave Miller
- Re: Using POST to send bitmap image with Java
- From: Arne Vajhøj
- Re: Using POST to send bitmap image with Java
- From: Dave Miller
- Re: Using POST to send bitmap image with Java
- From: Lew
- Using POST to send bitmap image with Java
- Prev by Date: Re: What's bad in Java
- Next by Date: Re: What's bad in Java
- Previous by thread: Re: Using POST to send bitmap image with Java
- Next by thread: Re: Using POST to send bitmap image with Java
- Index(es):
Relevant Pages
|