Re: PUT method

-----BEGIN PGP SIGNED MESSAGE-----

On Sat, 17 Aug 1996, jna wrote:

> 
> What exactly is a PUT method? At last check, there was no such method. 
> 
> Perhaps netscape implements it as an alias to 'POST', but to the best 
> of my knowledge there are TWO methods: POST and GET. 
> 
> PUT sounds like a netscape-ism, and probably should be avoided in the 
> name of standards. :) 
> 

PUT is part of the HTTP/1.0 spec in the Appendix on 'Additional Features',
with the caveat that it may or may not be implemented or implemented
correctly.  Is is used for replacing a particular URI. For example,
let's say you are remotely editing /blah/blah.html, and wish to replace
it. In theory, a PUT header followed by the document would replace
the existing one. There is a bunch of server config necessary to make this
really happen most likely.

PUT does in fact work, if passed to a CGI script. Using netscape gold,
you can 'Publish' a document via HTTP, which sends a PUT request followed
by the full HTML text of the document, as it should. A CGI reads this from
stdin, and does receive the document text. My problem is that the 
netscape browser converts forms with PUT methods to GET requests before 
sending them to the server, and I have no idea why.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Jeremey Barrett
Senior Software Engineer                        jeremey@forequest.com
The ForeQuest Company                           http://www.forequest.com/

PGP Key fingerprint =  3B 42 1E D4 4B 17 0D 80  DC 59 6F 59 04 C3 83 64
PGP Public Key: http://www.forequest.com/people/jeremey/pgpkey.html
                
		"less is more."  -- Mies van de Rohe.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMhYBQS/fy+vkqMxNAQGysgP/bySvjGyv63LS6YTKmwpJnwRoyzsL596T
bY5LV2BHJUX6VS+7nFjyV3cY/SJPGXq9r/KZZrhGIYuogB+4F+/PNxH4S+bubCHY
ikFgyF67yyN8Vn9QmuHMVHNcbV4fH0exdKsL1B1rNo8ZW/zXegoj6Q+FQVMh15vl
XMBFTTHZhA0=
=FNn3
-----END PGP SIGNATURE-----

Received on Saturday, 17 August 1996 13:28:48 UTC